Last updated on 2026-02-22 03:51:42 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| babelmixr2 | 3 | 11 | |
| dparser | 14 | ||
| lbfgsb3c | 14 | ||
| lotri | 14 | ||
| monolix2rx | 2 | 12 | |
| n1qn1 | 14 | ||
| nlmixr2 | 14 | ||
| nlmixr2data | 14 | ||
| nlmixr2est | 3 | 11 | |
| nlmixr2extra | 14 | ||
| nlmixr2plot | 9 | 5 | |
| nonmem2rx | 3 | 11 | |
| PreciseSums | 14 | ||
| rxode2 | 3 | 11 | |
| rxode2ll | 2 | 12 |
Current CRAN status: NOTE: 3, OK: 11
Version: 0.1.11
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘lixoftConnectors’
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: NOTE: 2, OK: 12
Version: 0.0.6
Check: installed package size
Result: NOTE
installed size is 6.0Mb
sub-directories of 1Mb or more:
libs 3.7Mb
theo 1.1Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: NOTE: 3, OK: 11
Version: 5.0.2
Check: compiled code
Result: NOTE
File ‘nlmixr2est/libs/nlmixr2est.so’:
Found non-API call to R: ‘ATTRIB’
Compiled code should not call non-API entry points in R.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
Flavor: r-devel-macos-arm64
Version: 5.0.2
Check: installed package size
Result: NOTE
installed size is 22.1Mb
sub-directories of 1Mb or more:
R 2.0Mb
libs 18.9Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Current CRAN status: OK: 14
Current CRAN status: ERROR: 9, OK: 5
Version: 5.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [128s/140s]
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
Flavor: r-devel-linux-x86_64-debian-clang
Version: 5.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [75s/94s]
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
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 5.0.0
Check: tests
Result: 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
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 5.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [189s/247s]
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
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 5.0.0
Check: tests
Result: ERROR
Running 'testthat.R' [131s]
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
Flavor: r-devel-windows-x86_64
Version: 5.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [112s/157s]
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
Flavor: r-patched-linux-x86_64
Version: 5.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [111s/130s]
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
Flavor: r-release-linux-x86_64
Version: 5.0.0
Check: tests
Result: ERROR
Running 'testthat.R' [126s]
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
Flavor: r-release-windows-x86_64
Version: 5.0.0
Check: tests
Result: ERROR
Running 'testthat.R' [172s]
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
Flavor: r-oldrel-windows-x86_64
Current CRAN status: NOTE: 3, OK: 11
Version: 0.1.9
Check: installed package size
Result: NOTE
installed size is 9.2Mb
sub-directories of 1Mb or more:
libs 5.2Mb
mods 3.3Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: OK: 14
Current CRAN status: NOTE: 3, OK: 11
Version: 5.0.1
Check: installed package size
Result: NOTE
installed size is 11.1Mb
sub-directories of 1Mb or more:
R 2.0Mb
include 1.3Mb
libs 5.9Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: NOTE: 2, OK: 12
Version: 2.0.13
Check: installed package size
Result: NOTE
installed size is 13.9Mb
sub-directories of 1Mb or more:
libs 13.8Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64