CRAN Package Check Results for Package bartCause

Last updated on 2023-01-25 04:51:31 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0-4 4.23 79.59 83.82 ERROR
r-devel-linux-x86_64-debian-gcc 1.0-6 6.00 61.46 67.46 OK
r-devel-linux-x86_64-fedora-clang 1.0-6 117.19 OK
r-devel-linux-x86_64-fedora-gcc 1.0-6 109.32 OK
r-devel-windows-x86_64 1.0-4 27.00 108.00 135.00 OK
r-patched-linux-x86_64 1.0-4 9.16 92.62 101.78 OK
r-release-linux-x86_64 1.0-4 7.71 92.98 100.69 OK
r-release-macos-arm64 1.0-6 28.00 OK
r-release-macos-x86_64 1.0-4 50.00 OK
r-release-windows-x86_64 1.0-4 22.00 111.00 133.00 OK
r-oldrel-macos-arm64 1.0-6 32.00 OK
r-oldrel-macos-x86_64 1.0-4 69.00 OK
r-oldrel-windows-ix86+x86_64 1.0-4 12.00 115.00 127.00 OK

Check Details

Version: 1.0-4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [30s/29s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > if (require(testthat, quietly = TRUE)) {
     + require(bartCause)
     + test_check("bartCause")
     + } else {
     + cat("package 'testthat' not available; cannot run unit tests\n")
     + }
     Loading required package: bartCause
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 251 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (???): sd common support diagnostic works ─────────────────────────────
     Error in `dbarts::rbart_vi(z ~ V1 + V2 + V3, data = df, verbose = FALSE,
     group.by = structure(c(1L, 3L, 3L, 2L, 2L, 3L, 3L, 2L, 1L,
     2L, 1L, 1L, 1L, 3L, 2L, 3L, 3L, 1L, 1L, 2L, 3L, 2L, 2L, 2L,
     3L, 3L, 1L, 2L, 1L, 3L, 1L, 3L, 2L, 3L, 2L, 3L, 3L, 1L, 1L,
     1L, 2L, 1L, 1L, 1L, 1L, 3L, 1L, 3L, 1L, 2L, 1L, 2L, 2L, 3L,
     3L, 2L, 1L, 1L, 2L, 2L, 3L, 1L, 3L, 2L, 1L, 2L, 2L, 3L, 2L,
     2L, 1L, 3L, 3L, 1L, 3L, 2L, 2L, 1L, 1L, 1L, 1L, 3L, 1L, 3L,
     3L, 2L, 2L, 2L, 3L, 1L, 1L, 1L, 1L, 2L, 1L, 2L, 1L, 2L, 3L,
     3L), levels = c("1", "2", "3"), class = "factor"), n.burn = 0L,
     n.samples = 3L, n.trees = 7L, n.chains = 1L, n.threads = 1L)`: no posterior draws will be taken after thinning
     Backtrace:
     ▆
     1. └─bartCause:::getBartTreatmentFit(...)
     2. └─base::eval(bartCall, envir = evalEnv)
     3. └─base::eval(bartCall, envir = evalEnv)
     4. └─dbarts::rbart_vi(...)
     ── Error (???): chisq common support diagnostic works ──────────────────────────
     Error in `dbarts::rbart_vi(z ~ V1 + V2 + V3, data = df, verbose = FALSE,
     group.by = structure(c(1L, 3L, 3L, 2L, 2L, 3L, 3L, 2L, 1L,
     2L, 1L, 1L, 1L, 3L, 2L, 3L, 3L, 1L, 1L, 2L, 3L, 2L, 2L, 2L,
     3L, 3L, 1L, 2L, 1L, 3L, 1L, 3L, 2L, 3L, 2L, 3L, 3L, 1L, 1L,
     1L, 2L, 1L, 1L, 1L, 1L, 3L, 1L, 3L, 1L, 2L, 1L, 2L, 2L, 3L,
     3L, 2L, 1L, 1L, 2L, 2L, 3L, 1L, 3L, 2L, 1L, 2L, 2L, 3L, 2L,
     2L, 1L, 3L, 3L, 1L, 3L, 2L, 2L, 1L, 1L, 1L, 1L, 3L, 1L, 3L,
     3L, 2L, 2L, 2L, 3L, 1L, 1L, 1L, 1L, 2L, 1L, 2L, 1L, 2L, 3L,
     3L), levels = c("1", "2", "3"), class = "factor"), n.burn = 0L,
     n.samples = 3L, n.trees = 7L, n.chains = 1L, n.threads = 1L)`: no posterior draws will be taken after thinning
     Backtrace:
     ▆
     1. └─bartCause:::getBartTreatmentFit(...)
     2. └─base::eval(bartCall, envir = evalEnv)
     3. └─base::eval(bartCall, envir = evalEnv)
     4. └─dbarts::rbart_vi(...)
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 251 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang