CRAN Package Check Results for Maintainer ‘Anderson Nelson <an2908 at columbia.edu>’

Last updated on 2025-12-28 03:51:56 CET.

Package ERROR OK
formulaic 1 12

Package formulaic

Current CRAN status: ERROR: 1, OK: 12

Version: 0.0.8
Check: examples
Result: ERROR Running examples in 'formulaic-Ex.R' failed The error most likely occurred in: > ### Name: create.formula > ### Title: Create Formula > ### Aliases: create.formula > > ### ** Examples > > n <- 10 > dd <- data.table::data.table(w = rnorm(n= n), x = rnorm(n = n), pixel_1 = rnorm(n = n)) > dd[, pixel_2 := 0.3 * pixel_1 + rnorm(n)] > dd[, y := 5 * x + 3 * pixel_1 + 2 * pixel_2 + rnorm(n)] > > create.formula(outcome.name = "y", input.names = "x", input.patterns = c("pi", "xel"), dat = dd) Error in `[.data.table`(inclusion.table, exclude.null.quantity == F, `:=`(class, : attempt access index 2/2 in VECTOR_ELT Calls: create.formula -> [ -> [.data.table Execution halted Flavor: r-devel-windows-x86_64

Version: 0.0.8
Check: tests
Result: ERROR Running 'testthat.R' [1s] Running the tests in 'tests/testthat.R' failed. Complete output: > testthat::test_check("formulaic") Loading required package: formulaic Saving _problems/test-create_formula-51.R Saving _problems/test-reduce-formula-10.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-create_formula.R:46:1'): (code run outside of `test_that()`) ─── Error in ``[.data.table`(inclusion.table, exclude.null.quantity == F, `:=`(class, dat[, class(eval(parse(text = add.backtick(x = variable, dat = dat))))]), by = variable)`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. └─formulaic::create.formula(...) at test-create_formula.R:46:1 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test-reduce-formula.R:6:1'): (code run outside of `test_that()`) ──── Error in ``[.data.table`(inclusion.table, exclude.null.quantity == F, `:=`(class, dat[, class(eval(parse(text = add.backtick(x = variable, dat = dat))))]), by = variable)`: attempt access index 2/2 in VECTOR_ELT Backtrace: ▆ 1. └─formulaic::reduce.existing.formula(...) at test-reduce-formula.R:6:1 2. └─formulaic::create.formula(...) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 0.0.8
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'Introduction-to-formulaic.Rmd' using rmarkdown Quitting from Introduction-to-formulaic.Rmd:87-99 [example] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 2/2 in VECTOR_ELT --- Backtrace: ▆ 1. └─formulaic::create.formula(...) 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Introduction-to-formulaic.Rmd' failed with diagnostics: attempt access index 2/2 in VECTOR_ELT --- failed re-building 'Introduction-to-formulaic.Rmd' SUMMARY: processing the following file failed: 'Introduction-to-formulaic.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-devel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.