* using log directory ‘/data/localhost/ripley/R/packages/tests-Suggests/bartCause.Rcheck’ * using R Under development (unstable) (2026-11-02 r90827) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2) GNU Fortran (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-11-02 15:14:36 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘bartCause/DESCRIPTION’ ... OK * this is package ‘bartCause’ version ‘1.0-10’ * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘bartCause’ can be installed ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... ERROR Running examples in ‘bartCause-Ex.R’ failed The error most likely occurred in: > ### Name: bartc-plot > ### Title: Plot methods for 'bartc' > ### Aliases: bartc-plot plot_sigma plot_est plot_indiv plot_support > ### Keywords: causal bart plot > > ### ** Examples > > # generate fake data using a simple linear model > n <- 100L > beta.z <- c(.75, -0.5, 0.25) > beta.y <- c(.5, 1.0, -1.5) > sigma <- 2 > > set.seed(725) > x <- matrix(rnorm(3 * n), n, 3) > tau <- rgamma(1L, 0.25 * 16 * rgamma(1L, 1 * 32, 32), 16) > > p.score <- pnorm(x %*% beta.z) > z <- rbinom(n, 1, p.score) > > mu.0 <- x %*% beta.y > mu.1 <- x %*% beta.y + tau > > y <- mu.0 * (1 - z) + mu.1 * z + rnorm(n, 0, sigma) > > # run with low parameters only for example > fit <- bartc(y, z, x, n.samples = 100L, n.burn = 15L, n.chains = 2L, + n.threads = 1L, + commonSup.rule = "sd") fitting treatment model via method 'bart' fitting response model via method 'bart' > > > ## plot specific functions > > # sigma plot can be used to access convergence of chains > plot_sigma(fit) > > # show points lacking common support > plot_support(fit, xvar = "tree.1", yvar = "css", legend.x = NULL) Error: tree plots require the package 'rpart'; please install it to use this feature Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/data/localhost/ripley/R/packages/tests-Suggests/bartCause.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:59.27, 36.95 + 4.28