- using R Under development (unstable) (2026-02-16 r89426)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.8
flang version 21.1.8
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-02-17 09:18:45 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘nlmixr2plot/DESCRIPTION’ ... OK
- this is package ‘nlmixr2plot’ version ‘5.0.0’
- 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 ‘nlmixr2plot’ can be installed ... [15s/40s] OK
See the install log for details.
- checking installed package size ... OK
- checking package 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/13s] OK
- checking whether the package can be loaded with stated dependencies ... [3s/14s] OK
- checking whether the package can be unloaded cleanly ... [4s/12s] OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... [4s/13s] OK
- checking loading without being on the library search path ... [4s/15s] 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 ... [22s/72s] OK
- checking Rd files ... 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 examples ... [4s/13s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [206s/410s] ERROR
Running ‘testthat.R’ [205s/410s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(nlmixr2plot)
>
> test_check("nlmixr2plot")
Saving _problems/test-plots-51.R
Saving _problems/test-plots-52.R
Saving _problems/test-plots-53.R
Saving _problems/test-plots-54.R
Saving _problems/test-plots-57.R
Saving _problems/test-plots-58.R
[ FAIL 6 | WARN 19 | SKIP 2 | PASS 31 ]
══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• On CRAN (2): 'test-plots-cens.R:2:3', 'test-plots-multiple-endpoints.R:2:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-plots.R:51:3'): test plots with vdiffr ───────────────────────
Expected `vpcPlot(fit, pred_corr = TRUE)` not to throw any errors.
Actually got a <rlang_error> with message:
i In argument: `q5 = quantile(dv, pi[1])`.
i In group 1: `strat = 1`, `sim = 1`, `bin = 1`.
Caused by error in `quantile.default()`:
! missing values and NaN's not allowed if 'na.rm' is FALSE
Backtrace:
▆
1. ├─testthat::expect_error(vpcPlot(fit, pred_corr = TRUE), NA) at test-plots.R:51:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─nlmixr2plot::vpcPlot(fit, pred_corr = TRUE)
8. │ └─vpc::vpc_vpc(...)
9. │ └─vpc:::calc_vpc_continuous(...)
10. │ └─sim %>% dplyr::group_by(strat, sim, bin) %>% ...
11. ├─dplyr::summarise(...)
12. ├─dplyr:::summarise.grouped_df(...)
13. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
14. │ ├─base::withCallingHandlers(...)
15. │ └─dplyr:::map(quosures, summarise_eval_one, mask = mask)
16. │ └─base::lapply(.x, .f, ...)
17. │ └─dplyr (local) FUN(X[[i]], ...)
18. │ └─mask$eval_all_summarise(quo)
19. │ └─dplyr (local) eval()
20. ├─stats::quantile(dv, pi[1])
21. ├─stats:::quantile.default(dv, pi[1])
22. │ └─base::stop("missing values and NaN's not allowed if 'na.rm' is FALSE")
23. └─base::.handleSimpleError(...)
24. └─dplyr (local) h(simpleError(msg, call))
25. └─dplyr (local) handler(cnd)
26. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
── Failure ('test-plots.R:52:3'): test plots with vdiffr ───────────────────────
Expected `vpcPlot(fitSim, pred_corr = TRUE)` not to throw any errors.
Actually got a <rlang_error> with message:
i In argument: `q5 = quantile(dv, pi[1])`.
i In group 1: `strat = 1`, `sim = 1`, `bin = 1`.
Caused by error in `quantile.default()`:
! missing values and NaN's not allowed if 'na.rm' is FALSE
Backtrace:
▆
1. ├─testthat::expect_error(vpcPlot(fitSim, pred_corr = TRUE), NA) at test-plots.R:52:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─nlmixr2plot::vpcPlot(fitSim, pred_corr = TRUE)
8. │ └─vpc::vpc_vpc(...)
9. │ └─vpc:::calc_vpc_continuous(...)
10. │ └─sim %>% dplyr::group_by(strat, sim, bin) %>% ...
11. ├─dplyr::summarise(...)
12. ├─dplyr:::summarise.grouped_df(...)
13. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
14. │ ├─base::withCallingHandlers(...)
15. │ └─dplyr:::map(quosures, summarise_eval_one, mask = mask)
16. │ └─base::lapply(.x, .f, ...)
17. │ └─dplyr (local) FUN(X[[i]], ...)
18. │ └─mask$eval_all_summarise(quo)
19. │ └─dplyr (local) eval()
20. ├─stats::quantile(dv, pi[1])
21. ├─stats:::quantile.default(dv, pi[1])
22. │ └─base::stop("missing values and NaN's not allowed if 'na.rm' is FALSE")
23. └─base::.handleSimpleError(...)
24. └─dplyr (local) h(simpleError(msg, call))
25. └─dplyr (local) handler(cnd)
26. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
── Failure ('test-plots.R:53:3'): test plots with vdiffr ───────────────────────
Expected `vpcPlotTad(fit, pred_corr = TRUE)` not to throw any errors.
Actually got a <rlang_error> with message:
i In argument: `q5 = quantile(dv, pi[1])`.
i In group 1: `strat = 1`, `sim = 1`, `bin = 1`.
Caused by error in `quantile.default()`:
! missing values and NaN's not allowed if 'na.rm' is FALSE
Backtrace:
▆
1. ├─testthat::expect_error(vpcPlotTad(fit, pred_corr = TRUE), NA) at test-plots.R:53:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─nlmixr2plot::vpcPlotTad(fit, pred_corr = TRUE)
8. │ └─nlmixr2plot::vpcPlot(..., idv = idv)
9. │ └─vpc::vpc_vpc(...)
10. │ └─vpc:::calc_vpc_continuous(...)
11. │ └─sim %>% dplyr::group_by(strat, sim, bin) %>% ...
12. ├─dplyr::summarise(...)
13. ├─dplyr:::summarise.grouped_df(...)
14. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
15. │ ├─base::withCallingHandlers(...)
16. │ └─dplyr:::map(quosures, summarise_eval_one, mask = mask)
17. │ └─base::lapply(.x, .f, ...)
18. │ └─dplyr (local) FUN(X[[i]], ...)
19. │ └─mask$eval_all_summarise(quo)
20. │ └─dplyr (local) eval()
21. ├─stats::quantile(dv, pi[1])
22. ├─stats:::quantile.default(dv, pi[1])
23. │ └─base::stop("missing values and NaN's not allowed if 'na.rm' is FALSE")
24. └─base::.handleSimpleError(...)
25. └─dplyr (local) h(simpleError(msg, call))
26. └─dplyr (local) handler(cnd)
27. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
── Failure ('test-plots.R:54:3'): test plots with vdiffr ───────────────────────
Expected `vpcPlotTad(fitSim, pred_corr = TRUE)` not to throw any errors.
Actually got a <rlang_error> with message:
i In argument: `q5 = quantile(dv, pi[1])`.
i In group 1: `strat = 1`, `sim = 1`, `bin = 1`.
Caused by error in `quantile.default()`:
! missing values and NaN's not allowed if 'na.rm' is FALSE
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-plots.R:54:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─nlmixr2plot::vpcPlotTad(fitSim, pred_corr = TRUE)
8. │ └─nlmixr2plot::vpcPlot(..., idv = idv)
9. │ └─vpc::vpc_vpc(...)
10. │ └─vpc:::calc_vpc_continuous(...)
11. │ └─sim %>% dplyr::group_by(strat, sim, bin) %>% ...
12. ├─dplyr::summarise(...)
13. ├─dplyr:::summarise.grouped_df(...)
14. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
15. │ ├─base::withCallingHandlers(...)
16. │ └─dplyr:::map(quosures, summarise_eval_one, mask = mask)
17. │ └─base::lapply(.x, .f, ...)
18. │ └─dplyr (local) FUN(X[[i]], ...)
19. │ └─mask$eval_all_summarise(quo)
20. │ └─dplyr (local) eval()
21. ├─stats::quantile(dv, pi[1])
22. ├─stats:::quantile.default(dv, pi[1])
23. │ └─base::stop("missing values and NaN's not allowed if 'na.rm' is FALSE")
24. └─base::.handleSimpleError(...)
25. └─dplyr (local) h(simpleError(msg, call))
26. └─dplyr (local) handler(cnd)
27. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
── Failure ('test-plots.R:57:3'): test plots with vdiffr ───────────────────────
Expected `vpcCensTad(fit)` not to throw any errors.
Actually got a <notSubsettableError> with message:
object of type 'closure' is not subsettable
Backtrace:
▆
1. ├─testthat::expect_error(vpcCensTad(fit), NA) at test-plots.R:57:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─nlmixr2plot::vpcCensTad(fit)
8. └─nlmixr2plot::vpcPlot(..., cens = cens, idv = idv)
9. └─vpc::vpc_cens(...)
10. └─vpc:::format_vpc_input_data(...)
11. └─vpc:::standardize_column(...)
── Failure ('test-plots.R:58:3'): test plots with vdiffr ───────────────────────
Expected `vpcCensTad(fitSim, pred_corr = TRUE)` not to throw any errors.
Actually got a <notSubsettableError> with message:
object of type 'closure' is not subsettable
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-plots.R:58:3
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─nlmixr2plot::vpcCensTad(fitSim, pred_corr = TRUE)
8. └─nlmixr2plot::vpcPlot(..., cens = cens, idv = idv)
9. └─vpc::vpc_cens(...)
10. └─vpc:::format_vpc_input_data(...)
11. └─vpc:::standardize_column(...)
[ FAIL 6 | WARN 19 | SKIP 2 | PASS 31 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [6s/12s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR