Last updated on 2026-02-28 11:49:31 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 5.0.0 | 9.04 | 200.51 | 209.55 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 5.0.0 | 5.61 | 126.81 | 132.42 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 5.0.0 | 15.00 | 320.46 | 335.46 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 5.0.0 | 15.00 | 308.57 | 323.57 | ERROR | |
| r-devel-macos-arm64 | 5.0.1 | 2.00 | 51.00 | 53.00 | OK | |
| r-devel-windows-x86_64 | 5.0.0 | 11.00 | 199.00 | 210.00 | ERROR | |
| r-patched-linux-x86_64 | 5.0.0 | 8.22 | 175.17 | 183.39 | ERROR | |
| r-release-linux-x86_64 | 5.0.0 | 7.98 | 175.28 | 183.26 | ERROR | |
| r-release-macos-arm64 | 5.0.1 | 2.00 | 50.00 | 52.00 | OK | |
| r-release-macos-x86_64 | 5.0.0 | 6.00 | 170.00 | 176.00 | OK | |
| r-release-windows-x86_64 | 5.0.0 | 11.00 | 210.00 | 221.00 | ERROR | |
| r-oldrel-macos-arm64 | 5.0.1 | 2.00 | 55.00 | 57.00 | OK | |
| r-oldrel-macos-x86_64 | 5.0.0 | 6.00 | 197.00 | 203.00 | OK | |
| r-oldrel-windows-x86_64 | 5.0.0 | 14.00 | 261.00 | 275.00 | ERROR |
Version: 5.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [125s/149s]
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/92s]
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’ [199s/508s]
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' [120s]
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’ [111s/136s]
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' [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-release-windows-x86_64
Version: 5.0.0
Check: tests
Result: ERROR
Running 'testthat.R' [162s]
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
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.