CRAN Package Check Results for Package bartCause

Last updated on 2023-01-30 19:54:39 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 4.74 62.32 67.06 OK
r-devel-linux-x86_64-fedora-clang 1.0-6 112.12 OK
r-devel-linux-x86_64-fedora-gcc 1.0-6 112.67 OK
r-devel-windows-x86_64 1.0-6 14.00 105.00 119.00 OK
r-patched-linux-x86_64 1.0-6 8.31 78.69 87.00 OK
r-release-linux-x86_64 1.0-6 6.80 80.49 87.29 OK
r-release-macos-arm64 1.0-6 28.00 OK
r-release-macos-x86_64 1.0-6 44.00 OK
r-release-windows-x86_64 1.0-6 24.00 115.00 139.00 OK
r-oldrel-macos-arm64 1.0-6 32.00 OK
r-oldrel-macos-x86_64 1.0-6 46.00 OK
r-oldrel-windows-ix86+x86_64 1.0-6 12.00 108.00 120.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