- using R Under development (unstable) (2026-07-28 r90311 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
* current time: 2026-07-29 09:32:32 UTC
- checking for file 'funcml/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'funcml' version '0.7.1'
- package encoding: UTF-8
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'funcml' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... 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 ... [2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [2s] OK
- checking loading without being on the library search path ... [1s] 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 ... [13s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... 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 ... [0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking sizes of PDF files under 'inst/doc' ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [18s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [43s] ERROR
Running 'testthat.R' [43s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(funcml)
>
> test_check("funcml")
Saving _problems/test-core-283.R
Saving _problems/test-learner-audit-contract-223.R
Saving _problems/test-learner-audit-contract-268.R
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 246 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-core.R:283:3'): bart supports regression and binary classification probabilities ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. └─funcml::fit(...) at test-core.R:283:3
2. └─adapter$fit_xy(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Failure ('test-learner-audit-contract.R:223:3'): advertised learner raw and probability contracts hold package-wide ──
Expected `length(failures)` to equal 0L.
Differences:
`actual`: 2
`expected`: 0
bart/regression: fit failed: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
bart/binary_classification: fit failed: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
── Failure ('test-learner-audit-contract.R:268:3'): interpretability contract holds for supported learner paths ──
Expected `length(failures)` to equal 0L.
Differences:
`actual`: 2
`expected`: 0
bart/regression: fit failed before interpret checks: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
bart/binary_classification: fit failed before interpret checks: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 246 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [44s] OK
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [4s] OK
- DONE
Status: 1 ERROR