CRAN Package Check Results for Maintainer ‘Flora Le <floralebui at gmail.com>’

Last updated on 2025-12-28 01:49:09 CET.

Package ERROR NOTE OK
multilevelcoda 1 3 9

Package multilevelcoda

Current CRAN status: ERROR: 1, NOTE: 3, OK: 9

Version: 1.3.3
Check: examples
Result: ERROR Running examples in 'multilevelcoda-Ex.R' failed The error most likely occurred in: > ### Name: complr > ### Title: Indices from a (dataset of) Multilevel Composition(s) > ### Aliases: complr > > ### ** Examples > > x1 <- complr(data = mcompd, + parts = c("TST", "WAKE", "MVPA", "LPA", "SB"), + idvar = "ID", total = 1440) A sequential binary partition (sbp), is required for ilr transform but is not supplied. A default sbp, which is a pivot balance, will be applied. Error in `[.data.table`(tmp, , `:=`(paste0("b", v), mean(get(v), na.rm = TRUE)), : attempt access index 10/10 in VECTOR_ELT Calls: complr -> [ -> [.data.table Execution halted Flavor: r-devel-windows-x86_64

Version: 1.3.3
Check: tests
Result: ERROR Running 'testthat.R' [23s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(data.table) Attaching package: 'data.table' The following object is masked from 'package:base': %notin% > library(multilevelcoda) Attaching package: 'multilevelcoda' The following object is masked from 'package:base': sub > library(extraoperators) > library(brms) Loading required package: Rcpp Loading 'brms' package (version 2.23.0). Useful instructions can be found by typing help('brms'). A more detailed introduction to the package is available through vignette('brms_overview'). Attaching package: 'brms' The following object is masked from 'package:stats': ar > > test_check("multilevelcoda") Starting 2 test processes. > test-complr.R: > test-complr.R: Attaching package: 'data.table' > test-complr.R: > test-complr.R: The following object is masked from 'package:base': > test-complr.R: > test-complr.R: %notin% > test-complr.R: > test-complr.R: Loading required package: Rcpp > test-complr.R: Loading 'brms' package (version 2.23.0). Useful instructions > test-complr.R: can be found by typing help('brms'). A more detailed introduction > test-complr.R: to the package is available through vignette('brms_overview'). > test-complr.R: > test-complr.R: Attaching package: 'brms' > test-complr.R: > test-complr.R: The following object is masked from 'package:stats': > test-complr.R: > test-complr.R: ar > test-complr.R: > test-complr.R: Loading required package: Matrix > test-complr.R: > test-complr.R: Attaching package: 'lme4' > test-complr.R: > test-complr.R: The following object is masked from 'package:brms': > test-complr.R: > test-complr.R: ngrps > test-complr.R: Saving _problems/test-complr-17.R [ FAIL 1 | WARN 0 | SKIP 4 | PASS 0 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-brmcoda.R:1:1', 'test-plotcoda.R:1:1', 'test-substitution.R:1:1', 'test-update.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-complr.R:16:1'): (code run outside of `test_that()`) ─────────── Error in ``[.data.table`(tmp, , `:=`(paste0("b", v), mean(get(v), na.rm = TRUE)), by = eval(idvar))`: attempt access index 10/10 in VECTOR_ELT Backtrace: ▆ 1. └─multilevelcoda::complr(...) at test-complr.R:16:1 2. ├─tmp[, `:=`(paste0("b", v), mean(get(v), na.rm = TRUE)), by = eval(idvar)] 3. └─data.table:::`[.data.table`(...) [ FAIL 1 | WARN 0 | SKIP 4 | PASS 0 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 1.3.3
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘cmdstanr’ Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 1.3.3
Check: installed package size
Result: NOTE installed size is 8.1Mb sub-directories of 1Mb or more: doc 6.4Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-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.