CRAN Package Check Results for Package nlmixr2plot

Last updated on 2026-09-23 04:51:04 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 5.1.0 0.34 3.99 4.33 ERROR
r-devel-linux-x86_64-debian-gcc 5.1.0 6.05 163.62 169.67 OK
r-devel-linux-x86_64-fedora-clang 5.1.0 1.39 ERROR
r-devel-linux-x86_64-fedora-gcc 5.2.0 8.00 329.89 337.89 ERROR
r-devel-windows-x86_64 5.1.0 12.00 262.00 274.00 OK
r-patched-linux-x86_64 5.1.0 8.16 231.85 240.01 OK
r-release-linux-x86_64 5.1.0 8.34 221.05 229.39 OK
r-release-macos-arm64 5.1.0 2.00 55.00 57.00 OK
r-release-macos-x86_64 5.2.0 8.00 139.00 147.00 OK
r-release-windows-x86_64 5.1.0 12.00 240.00 252.00 OK
r-oldrel-macos-arm64 5.1.0 2.00 58.00 60.00 OK
r-oldrel-macos-x86_64 5.2.0 7.00 385.00 392.00 OK
r-oldrel-windows-x86_64 5.1.0 14.00 309.00 323.00 OK

Check Details

Version: 5.1.0
Check: package dependencies
Result: ERROR Packages required but not available: 'nlmixr2est', 'nlmixr2extra', 'rxode2' See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-fedora-clang

Version: 5.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [257s/493s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(nlmixr2plot) > > # Thread policy on CI / CRAN: keep the test process single-threaded so the > # repeated model fits do not oversubscribe the (small) hosted runners. On CRAN > # also cap rxode2 within-solve threads to two per CRAN's policy. > .on_cran <- !identical(Sys.getenv("NOT_CRAN"), "true") > .on_ci <- isTRUE(as.logical(Sys.getenv("CI", "false"))) > if (.on_ci || .on_cran) { + options(Ncpus = 1L) + Sys.setenv(TESTTHAT_CPUS = "1") + Sys.setenv(TESTTHAT_PARALLEL = "FALSE") + } > if (.on_cran && requireNamespace("rxode2", quietly = TRUE)) { + rxode2::setRxThreads(2L) + } > > # ------------------------------------------------------------------------- > # CI test partitioning > # > # Every test file fits real nlmixr2 models, so the full suite is expensive on a > # single hosted runner. push/PR R-CMD-check runs only the "essential" subset -- > # every test file EXCEPT the slow ones listed in .slow_batches below -- which > # still exercises the core plotting surface (plot(fit) goodness-of-fit plots, > # vpcPlot()/traceplot(), augPred() plots and the gglist collection structure). > # > # The slow files run separately in the weekly slow-tests workflow, split into > # batches that run one-at-a-time (non-overlapping). That workflow sets > # NLMIXR2PLOT_TEST_BATCH=<n> to run only batch n's files. > # > # Names are the test file basename with the leading "test-" and trailing ".R" > # removed (what testthat's `filter` matches). When a test file grows past a few > # minutes, move it into one of the batches here. > # ------------------------------------------------------------------------- > .slow_batches <- list( + # batch 1 -- heaviest fit-based files (multi-endpoint PK/PD + censored VPC) + c("plots-multiple-endpoints", "plots-cens"), + # batch 2 -- between-subject-variability plot detail (QQ / correlation / + # covariate plots across several fits) + c("plots-bsv") + ) > .slow_all <- unlist(.slow_batches) > > .batch <- Sys.getenv("NLMIXR2PLOT_TEST_BATCH") > > .filter <- NULL > if (nzchar(.batch)) { + # Slow-batch mode: run ONLY this batch's slow files. + .b <- suppressWarnings(as.integer(.batch)) + if (is.na(.b) || .b < 1L || .b > length(.slow_batches)) { + stop(sprintf("NLMIXR2PLOT_TEST_BATCH=%s out of range (1..%d)", .batch, length(.slow_batches))) + } + .files <- .slow_batches[[.b]] + .filter <- paste0("^(", paste(.files, collapse = "|"), ")$") + } else if (.on_ci && !.on_cran && length(.slow_all) > 0L) { + # Essential subset on push/PR CI: everything EXCEPT the slow files. + .filter <- paste0("^(?!(", paste(.slow_all, collapse = "|"), ")$)") + } > # Locally (and on CRAN) .filter stays NULL -> run everything. > > test_check("nlmixr2plot", filter = .filter, perl = TRUE) Saving _problems/test-model-diagram-1086.R Error : 'ui' needs to be a rxUi model Error : 'ui' needs to be a rxUi model Error : 'ui' needs to be a rxUi model [ FAIL 1 | WARN 10 | SKIP 6 | PASS 474 ] ══ Skipped tests (6) ═══════════════════════════════════════════════════════════ • On CRAN (6): 'test-plots-cens.R:2:3', 'test-plots-multiple-endpoints.R:2:3', 'test-plots-multiple-endpoints.R:117:3', 'test-vpc-missing-dv.R:23:3', 'test-vpc-missing-dv.R:83:3', 'test-vpc-tad-data.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-model-diagram.R:1086:3'): long products keep their input and elimination parts ── Expected `as.numeric(Sys.time() - t0, units = "secs")` < 30. Actual comparison: 32.4 >= 30.0 Difference: 2.4 >= 0 [ FAIL 1 | WARN 10 | SKIP 6 | PASS 474 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc