CRAN Package Check Results for Maintainer ‘Hung Nguyen <ntthung at gmail.com>’

Last updated on 2025-12-28 03:52:13 CET.

Package ERROR NOTE OK
mbr 1 4 8

Package mbr

Current CRAN status: ERROR: 1, NOTE: 4, OK: 8

Version: 0.0.1
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Hung Nguyen <ntthung@gmail.com>’ No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: person(given = "Hung", family = "Nguyen", role = c("aut", "cre"), email = "ntthung@gmail.com") as necessary. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.0.1
Check: dependencies in R code
Result: NOTE Namespace in Imports field not imported from: ‘MASS’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.0.1
Check: examples
Result: ERROR Running examples in 'mbr-Ex.R' failed The error most likely occurred in: > ### Name: cv_mb > ### Title: Cross-validation > ### Aliases: cv_mb > > ### ** Examples > > cvFolds <- make_Z(1922:2003, nRuns = 50, frac = 0.25, contiguous = TRUE) > cv <- cv_mb(p1Seasonal, pc3seasons, cvFolds, 1750, log.trans = 1:3, return.type = 'metrics') Error in `[.data.table`(metrics, , `:=`(fval, fval), by = season) : attempt access index 6/6 in VECTOR_ELT Calls: cv_mb -> rbindlist -> lapply -> FUN -> [ -> [.data.table Execution halted Flavor: r-devel-windows-x86_64

Version: 0.0.1
Check: tests
Result: ERROR Running 'testthat.R' [3s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(mbr) > > test_check("mbr") Saving _problems/test-p1-6.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-p1.R:6:1'): (code run outside of `test_that()`) ──────────────── Error in ``[.data.table`(metrics, , `:=`(fval, fval), by = season)`: attempt access index 6/6 in VECTOR_ELT Backtrace: ▆ 1. └─mbr::cv_mb(...) at test-p1.R:6:1 2. ├─data.table::rbindlist(lapply(cv.folds, one_cv), idcol = "rep") 3. └─base::lapply(cv.folds, one_cv) 4. └─mbr (local) FUN(X[[i]], ...) 5. ├─metrics[, `:=`(fval, fval), by = season] 6. └─data.table:::`[.data.table`(metrics, , `:=`(fval, fval), by = season) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 0.0.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'Mass-balance-adjusted-regression.Rmd' using rmarkdown Quitting from Mass-balance-adjusted-regression.Rmd:73-94 [unnamed-chunk-7] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 6/6 in VECTOR_ELT --- Backtrace: ▆ 1. └─mbr::cv_mb(...) 2. ├─data.table::rbindlist(lapply(cv.folds, one_cv), idcol = "rep") 3. └─base::lapply(cv.folds, one_cv) 4. └─mbr (local) FUN(X[[i]], ...) 5. ├─metrics[, `:=`(fval, fval), by = season] 6. └─data.table:::`[.data.table`(metrics, , `:=`(fval, fval), by = season) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Mass-balance-adjusted-regression.Rmd' failed with diagnostics: attempt access index 6/6 in VECTOR_ELT --- failed re-building 'Mass-balance-adjusted-regression.Rmd' SUMMARY: processing the following file failed: 'Mass-balance-adjusted-regression.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.