- using R Under development (unstable) (2024-12-19 r87451)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-8) 14.2.0
GNU Fortran (Debian 14.2.0-8) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘tidytreatment/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘tidytreatment’ version ‘0.2.2’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... INFO
Package suggested but not available for checking: ‘BART’
- 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 serialization versions ... OK
- checking whether package ‘tidytreatment’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/2s] 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 ... [7s/10s] OK
- checking Rd files ... [0s/1s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [1s/2s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... NONE
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [2s/2s] ERROR
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tidytreatment)
>
> test_check("tidytreatment")
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-counter-factuals.R:3:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(BART)`: there is no package called 'BART'
Backtrace:
▆
1. └─base::library(BART) at test-counter-factuals.R:3:1
── Error ('test-fitted.R:3:1'): (code run outside of `test_that()`) ────────────
<packageNotFoundError/error/condition>
Error in `library(BART)`: there is no package called 'BART'
Backtrace:
▆
1. └─base::library(BART) at test-fitted.R:3:1
── Error ('test-predict.R:3:1'): (code run outside of `test_that()`) ───────────
<packageNotFoundError/error/condition>
Error in `library(BART)`: there is no package called 'BART'
Backtrace:
▆
1. └─base::library(BART) at test-predict.R:3:1
── Error ('test-residuals.R:3:1'): (code run outside of `test_that()`) ─────────
<packageNotFoundError/error/condition>
Error in `library(BART)`: there is no package called 'BART'
Backtrace:
▆
1. └─base::library(BART) at test-residuals.R:3:1
── Error ('test-treatment-effects.R:3:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(BART)`: there is no package called 'BART'
Backtrace:
▆
1. └─base::library(BART) at test-treatment-effects.R:3:1
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 0 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [1s/1s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘use-tidytreatment-BART.Rmd’ using rmarkdown
Quitting from lines 14-36 [setup] (use-tidytreatment-BART.Rmd)
Error: processing vignette 'use-tidytreatment-BART.Rmd' failed with diagnostics:
there is no package called 'BART'
--- failed re-building ‘use-tidytreatment-BART.Rmd’
SUMMARY: processing the following file failed:
‘use-tidytreatment-BART.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs