- using R version 4.6.2 Patched (2026-11-03 r90834)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.2.0-3) 16.2.0
GNU Fortran (Debian 16.2.0-3) 16.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-11-04 19:30:11 UTC
- checking for file ‘nadir/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘nadir’ version ‘0.0.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 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 ‘nadir’ 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 ... [4s/6s] OK
- checking whether the package can be loaded with stated dependencies ... [3s/5s] OK
- checking whether the package can be unloaded cleanly ... [3s/4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the namespace can be unloaded cleanly ... [4s/5s] OK
- checking loading without being on the library search path ... [4s/5s] 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 ... [21s/27s] OK
- checking Rd files ... [1s/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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [28s/42s] ERROR
Running examples in ‘nadir-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: lnr_glmer
> ### Title: Generalized Linear Mixed-Effects ('lme4::glmer') Learner
> ### Aliases: lnr_glmer
>
> ### ** Examples
>
> # random intercepts for each level of cyl column:
> suppressMessages({
+ # singular fit, but that's ok if all you need is prediction:
+ lnr_glmer(mtcars, mpg ~ (1|cyl) + disp + wt, family = Gamma)(mtcars)
+ })
Error in model.frame.default(data = data, weights = weights, drop.unused.levels = TRUE, :
invalid type (closure) for variable '(weights)'
Calls: suppressMessages ... mkFormula -> eval -> eval -> <Anonymous> -> model.frame.default
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
cv_super_learner 10.890 0.089 18.809
compare_learners 4.542 0.024 6.430
cv_origami_schema 4.512 0.008 5.896
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [52s/79s] ERROR
Running ‘testthat.R’ [52s/79s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(nadir)
>
> test_check("nadir")
Saving _problems/test-continuous-learners-31.R
Saving _problems/test-continuous-learners-68.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 32 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-continuous-learners.R:30:3'): all continuous learners can be trained and predict on mtcars ──
Error in `model.frame.default(data = data, weights = weights, drop.unused.levels = TRUE, formula = mpg ~ (1 + cyl) + hp)`: invalid type (closure) for variable '(weights)'
Backtrace:
▆
1. └─nadir::lnr_lmer(data = mtcars, formula = mpg ~ (1 | cyl) + hp) at test-continuous-learners.R:30:3
2. ├─lme4::lmer(...)
3. │ └─base::eval(mc, parent.frame(1L))
4. │ └─base::eval(mc, parent.frame(1L))
5. ├─lme4::lFormula(...)
6. │ └─lme4:::mkFormula(...)
7. │ └─base::eval(mf, parent_env)
8. │ └─base::eval(mf, parent_env)
9. ├─stats::model.frame(...)
10. └─stats::model.frame.default(...)
── Error ('test-continuous-learners.R:67:3'): all binary learners can be trained and predict on mtcars ──
Error in `model.frame.default(data = data, weights = weights, drop.unused.levels = TRUE, formula = am ~ (1 + cyl) + hp)`: invalid type (closure) for variable '(weights)'
Backtrace:
▆
1. └─nadir::lnr_glmer(...) at test-continuous-learners.R:67:3
2. ├─lme4::glmer(...)
3. │ └─base::eval(mc, parent.frame(1L))
4. │ └─base::eval(mc, parent.frame(1L))
5. ├─lme4::glFormula(...)
6. │ └─lme4:::mkFormula(...)
7. │ └─base::eval(mf, parent_env)
8. │ └─base::eval(mf, parent_env)
9. ├─stats::model.frame(...)
10. └─stats::model.frame.default(...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 32 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [28s/31s] OK
- checking PDF version of manual ... [6s/8s] OK
- checking HTML version of manual ... [4s/8s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs