CRAN Package Check Results for Package campsis

Last updated on 2023-04-01 08:01:06 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.0 18.16 304.95 323.11 NOTE
r-devel-linux-x86_64-debian-gcc 1.3.0 15.05 205.80 220.85 NOTE
r-devel-linux-x86_64-fedora-clang 1.3.0 432.00 NOTE
r-devel-linux-x86_64-fedora-gcc 1.3.0 381.57 NOTE
r-devel-windows-x86_64 1.3.0 200.00 222.00 422.00 ERROR
r-patched-linux-x86_64 1.3.0 12.81 255.54 268.35 NOTE
r-release-linux-x86_64 1.3.0 10.49 253.01 263.50 NOTE
r-release-macos-arm64 1.3.0 111.00 OK
r-release-macos-x86_64 1.3.0 141.00 OK
r-release-windows-x86_64 1.3.0 54.00 446.00 500.00 OK
r-oldrel-macos-arm64 1.3.0 111.00 OK
r-oldrel-macos-x86_64 1.3.0 139.00 OK
r-oldrel-windows-ix86+x86_64 1.3.0 37.00 343.00 380.00 OK

Additional issues

noSuggests

Check Details

Version: 1.3.0
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘RxODE’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.3.0
Check: tests
Result: ERROR
     Running 'testthat.R' [73s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > Sys.setenv("R_TESTS" = "")
     > library(testthat)
     > library(campsis)
     Loading required package: campsismod
    
     Attaching package: 'campsismod'
    
     The following object is masked from 'package:utils':
    
     find
    
     The following objects are masked from 'package:base':
    
     Position, as.data.frame, replace, sort, toString, write
    
    
     Attaching package: 'campsis'
    
     The following object is masked from 'package:stats':
    
     simulate
    
     The following object is masked from 'package:base':
    
     sample
    
     > test_check("campsis")
    
     ---:: stderr ::---------------------------------------------
    
     ------------------------------------------------------------
    
     ---:: stderr ::---------------------------------------------
    
     ------------------------------------------------------------
     [ FAIL 39 | WARN 82 | SKIP 25 | PASS 307 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • empty test (25)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('testCompilationError.R:19:7'): Incorrect Campsis model does not compile and a clear error message is shown (rxode2/mrgsolve) ──
     `simulate(model = model, dataset = ds, dest = destEngine)` threw an error with unexpected message.
     Expected match: "The following parameter\\(s\\) are required for solving: BW"
     Actual message: "ℹ In index: 1.\nCaused by error:\n! .onLoad failed in loadNamespace() for 'rxode2', details:\n call: NULL\n error: rxode2 compiled with rxode2parse with a different solving structure\ncan try: install.packages('rxode2', type='source')"
     Backtrace:
     ▆
     1. ├─testthat::expect_error(...) at testCompilationError.R:19:6
     2. │ └─testthat:::quasi_capture(...)
     3. │ ├─testthat (local) .capture(...)
     4. │ │ └─base::withCallingHandlers(...)
     5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. ├─campsis::simulate(model = model, dataset = ds, dest = destEngine)
     7. ├─campsis::simulate(model = model, dataset = ds, dest = destEngine)
     8. │ └─campsis:::simulateDelegate(...)
     9. │ └─campsis:::simulateScenarios(...)
     10. │ └─purrr::map2_df(...)
     11. │ └─purrr::map2(.x, .y, .f, ...)
     12. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     13. │ ├─purrr:::with_indexed_errors(...)
     14. │ │ └─base::withCallingHandlers(...)
     15. │ ├─purrr:::call_with_cleanup(...)
     16. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     17. │ └─campsis:::simulateDelegateCore(...)
     18. │ ├─campsis::simulate(...)
     19. │ └─campsis::simulate(...)
     20. ├─base::loadNamespace(x)
     21. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     22. │ └─base::stop(...)
     23. └─base::.handleSimpleError(...)
     24. └─purrr (local) h(simpleError(msg, call))
     25. └─cli::cli_abort(...)
     26. └─rlang::abort(...)
     ── Error ('testSimulateArguments.R:17:3'): Argument dest works well ────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset = dataset) at testSimulateArguments.R:17:2
     2. ├─campsis::simulate(., dataset = dataset)
     3. ├─campsis::simulate(., dataset = dataset)
     4. │ └─campsis:::simulateDelegate(...)
     5. │ └─campsis:::simulateScenarios(...)
     6. │ └─purrr::map2_df(...)
     7. │ └─purrr::map2(.x, .y, .f, ...)
     8. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     9. │ ├─purrr:::with_indexed_errors(...)
     10. │ │ └─base::withCallingHandlers(...)
     11. │ ├─purrr:::call_with_cleanup(...)
     12. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     13. │ └─campsis:::simulateDelegateCore(...)
     14. │ ├─campsis::simulate(...)
     15. │ └─campsis::simulate(...)
     16. ├─base::loadNamespace(x)
     17. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     18. │ └─base::stop(...)
     19. └─base::.handleSimpleError(...)
     20. └─purrr (local) h(simpleError(msg, call))
     21. └─cli::cli_abort(...)
     22. └─rlang::abort(...)
     ── Error ('testSimulateArguments.R:29:3'): Auto seed value vs fix seed + default engine ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset = dataset, seed = 10) at testSimulateArguments.R:29:2
     2. ├─campsis::simulate(., dataset = dataset, seed = 10)
     3. ├─campsis::simulate(., dataset = dataset, seed = 10)
     4. │ └─campsis:::simulateDelegate(...)
     5. │ └─campsis:::simulateScenarios(...)
     6. │ └─purrr::map2_df(...)
     7. │ └─purrr::map2(.x, .y, .f, ...)
     8. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     9. │ ├─purrr:::with_indexed_errors(...)
     10. │ │ └─base::withCallingHandlers(...)
     11. │ ├─purrr:::call_with_cleanup(...)
     12. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     13. │ └─campsis:::simulateDelegateCore(...)
     14. │ ├─campsis::simulate(...)
     15. │ └─campsis::simulate(...)
     16. ├─base::loadNamespace(x)
     17. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     18. │ └─base::stop(...)
     19. └─base::.handleSimpleError(...)
     20. └─purrr (local) h(simpleError(msg, call))
     21. └─cli::cli_abort(...)
     22. └─rlang::abort(...)
     ── Error (???): Simulate a bolus, 2 arms, F1 only in arm1, in dataset (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = destEngine, seed = seed)
     2. ├─campsis::simulate(., dataset, dest = destEngine, seed = seed)
     3. ├─campsis::simulate(., dataset, dest = destEngine, seed = seed)
     4. │ └─campsis:::simulateDelegate(...)
     5. │ └─campsis:::simulateScenarios(...)
     6. │ └─purrr::map2_df(...)
     7. │ └─purrr::map2(.x, .y, .f, ...)
     8. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     9. │ ├─purrr:::with_indexed_errors(...)
     10. │ │ └─base::withCallingHandlers(...)
     11. │ ├─purrr:::call_with_cleanup(...)
     12. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     13. │ └─campsis:::simulateDelegateCore(...)
     14. │ ├─campsis::simulate(...)
     15. │ └─campsis::simulate(...)
     16. ├─base::loadNamespace(x)
     17. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     18. │ └─base::stop(...)
     19. └─base::.handleSimpleError(...)
     20. └─purrr (local) h(simpleError(msg, call))
     21. └─cli::cli_abort(...)
     22. └─rlang::abort(...)
     ── Error (???): Simulate a simple bolus with bioavailability, dataset versus model (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = destEngine, seed = seed)
     2. ├─campsis::simulate(., dataset, dest = destEngine, seed = seed)
     3. ├─campsis::simulate(., dataset, dest = destEngine, seed = seed)
     4. │ └─campsis:::simulateDelegate(...)
     5. │ └─campsis:::simulateScenarios(...)
     6. │ └─purrr::map2_df(...)
     7. │ └─purrr::map2(.x, .y, .f, ...)
     8. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     9. │ ├─purrr:::with_indexed_errors(...)
     10. │ │ └─base::withCallingHandlers(...)
     11. │ ├─purrr:::call_with_cleanup(...)
     12. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     13. │ └─campsis:::simulateDelegateCore(...)
     14. │ ├─campsis::simulate(...)
     15. │ └─campsis::simulate(...)
     16. ├─base::loadNamespace(x)
     17. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     18. │ └─base::stop(...)
     19. └─base::.handleSimpleError(...)
     20. └─purrr (local) h(simpleError(msg, call))
     21. └─cli::cli_abort(...)
     22. └─rlang::abort(...)
     ── Error (???): Simulate several fixed F's at once (rxode2/mrgsolve) ───────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─model %>% disable("IIV") %>% ...
     2. ├─campsis::simulate(., dataset, dest = destEngine, seed = seed)
     3. ├─campsis::simulate(., dataset, dest = destEngine, seed = seed)
     4. │ └─campsis:::simulateDelegate(...)
     5. │ └─campsis:::simulateScenarios(...)
     6. │ └─purrr::map2_df(...)
     7. │ └─purrr::map2(.x, .y, .f, ...)
     8. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     9. │ ├─purrr:::with_indexed_errors(...)
     10. │ │ └─base::withCallingHandlers(...)
     11. │ ├─purrr:::call_with_cleanup(...)
     12. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     13. │ └─campsis:::simulateDelegateCore(...)
     14. │ ├─campsis::simulate(...)
     15. │ └─campsis::simulate(...)
     16. ├─base::loadNamespace(x)
     17. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     18. │ └─base::stop(...)
     19. └─base::.handleSimpleError(...)
     20. └─purrr (local) h(simpleError(msg, call))
     21. └─cli::cli_abort(...)
     22. └─rlang::abort(...)
     ── Error (???): Simulate a bolus (rxode2/mrgsolve) ─────────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Simulate a bolus, 2 arms (rxode2/mrgsolve) ─────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = destEngine, seed = seed)
     2. ├─campsis::simulate(., dataset, dest = destEngine, seed = seed)
     3. ├─campsis::simulate(., dataset, dest = destEngine, seed = seed)
     4. │ └─campsis:::simulateDelegate(...)
     5. │ └─campsis:::simulateScenarios(...)
     6. │ └─purrr::map2_df(...)
     7. │ └─purrr::map2(.x, .y, .f, ...)
     8. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     9. │ ├─purrr:::with_indexed_errors(...)
     10. │ │ └─base::withCallingHandlers(...)
     11. │ ├─purrr:::call_with_cleanup(...)
     12. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     13. │ └─campsis:::simulateDelegateCore(...)
     14. │ ├─campsis::simulate(...)
     15. │ └─campsis::simulate(...)
     16. ├─base::loadNamespace(x)
     17. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     18. │ └─base::stop(...)
     19. └─base::.handleSimpleError(...)
     20. └─purrr (local) h(simpleError(msg, call))
     21. └─cli::cli_abort(...)
     22. └─rlang::abort(...)
     ── Error (???): Simulate a bolus, 2 labelled arms (rxode2/mrgsolve) ────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = destEngine, seed = seed)
     2. ├─campsis::simulate(., dataset, dest = destEngine, seed = seed)
     3. ├─campsis::simulate(., dataset, dest = destEngine, seed = seed)
     4. │ └─campsis:::simulateDelegate(...)
     5. │ └─campsis:::simulateScenarios(...)
     6. │ └─purrr::map2_df(...)
     7. │ └─purrr::map2(.x, .y, .f, ...)
     8. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     9. │ ├─purrr:::with_indexed_errors(...)
     10. │ │ └─base::withCallingHandlers(...)
     11. │ ├─purrr:::call_with_cleanup(...)
     12. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     13. │ └─campsis:::simulateDelegateCore(...)
     14. │ ├─campsis::simulate(...)
     15. │ └─campsis::simulate(...)
     16. ├─base::loadNamespace(x)
     17. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     18. │ └─base::stop(...)
     19. └─base::.handleSimpleError(...)
     20. └─purrr (local) h(simpleError(msg, call))
     21. └─cli::cli_abort(...)
     22. └─rlang::abort(...)
     ── Error (???): Bolus and infusion in CMT 1 (rxode2/mrgsolve) ──────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error ('testSimulateDeclare.R:24:7'): Declare argument with mrgsolve ────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─model %>% ... at testSimulateDeclare.R:24:6
     2. ├─campsis::simulate(...)
     3. ├─campsis::simulate(...)
     4. │ └─campsis:::simulateDelegate(...)
     5. │ └─campsis:::simulateScenarios(...)
     6. │ └─purrr::map2_df(...)
     7. │ └─purrr::map2(.x, .y, .f, ...)
     8. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     9. │ ├─purrr:::with_indexed_errors(...)
     10. │ │ └─base::withCallingHandlers(...)
     11. │ ├─purrr:::call_with_cleanup(...)
     12. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     13. │ └─campsis:::simulateDelegateCore(...)
     14. │ ├─campsis::simulate(...)
     15. │ └─campsis::simulate(...)
     16. ├─base::loadNamespace(x)
     17. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     18. │ └─base::stop(...)
     19. └─base::.handleSimpleError(...)
     20. └─purrr (local) h(simpleError(msg, call))
     21. └─cli::cli_abort(...)
     22. └─rlang::abort(...)
     ── Error (???): Dose adaptations based on weight work well (rxode2/mrgsolve) ───
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Dose adaptations preserve specified infusion duration (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Dose adaptations preserve specified infusion rate (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Dose adaptations based on weight work well, check argument compartments works as expected (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Dose adaptations can be checked in CAMPSIS output if dosing is TRUE (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Simulate infusion using rate in dataset (rxode2/mrgsolve) ──────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Simulate infusion using rate and lag time in dataset (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Simulate infusion using rate and lag time (parameter distribution) in dataset (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Simulate initial conditions, observations starting at 0 (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Simulate initial conditions, observations starting at 5 (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Simulate a bolus with fixed lag time in dataset (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = destEngine, seed = seed)
     2. ├─campsis::simulate(., dataset, dest = destEngine, seed = seed)
     3. ├─campsis::simulate(., dataset, dest = destEngine, seed = seed)
     4. │ └─campsis:::simulateDelegate(...)
     5. │ └─campsis:::simulateScenarios(...)
     6. │ └─purrr::map2_df(...)
     7. │ └─purrr::map2(.x, .y, .f, ...)
     8. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     9. │ ├─purrr:::with_indexed_errors(...)
     10. │ │ └─base::withCallingHandlers(...)
     11. │ ├─purrr:::call_with_cleanup(...)
     12. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     13. │ └─campsis:::simulateDelegateCore(...)
     14. │ ├─campsis::simulate(...)
     15. │ └─campsis::simulate(...)
     16. ├─base::loadNamespace(x)
     17. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     18. │ └─base::stop(...)
     19. └─base::.handleSimpleError(...)
     20. └─purrr (local) h(simpleError(msg, call))
     21. └─cli::cli_abort(...)
     22. └─rlang::abort(...)
     ── Error (???): Simulate a bolus with fixed lag time in model (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = destEngine, seed = seed)
     2. ├─campsis::simulate(., dataset, dest = destEngine, seed = seed)
     3. ├─campsis::simulate(., dataset, dest = destEngine, seed = seed)
     4. │ └─campsis:::simulateDelegate(...)
     5. │ └─campsis:::simulateScenarios(...)
     6. │ └─purrr::map2_df(...)
     7. │ └─purrr::map2(.x, .y, .f, ...)
     8. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     9. │ ├─purrr:::with_indexed_errors(...)
     10. │ │ └─base::withCallingHandlers(...)
     11. │ ├─purrr:::call_with_cleanup(...)
     12. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     13. │ └─campsis:::simulateDelegateCore(...)
     14. │ ├─campsis::simulate(...)
     15. │ └─campsis::simulate(...)
     16. ├─base::loadNamespace(x)
     17. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     18. │ └─base::stop(...)
     19. └─base::.handleSimpleError(...)
     20. └─purrr (local) h(simpleError(msg, call))
     21. └─cli::cli_abort(...)
     22. └─rlang::abort(...)
     ── Error (???): Simulate a minimalist model, no parameters/IIV/error model (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Simulate a 1-cpt model without OMEGA's/SIGMA's - Github issue #8 (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): NULL outvars (rxode2/mrgsolve) ─────────────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Not NULL outvars (rxode2/mrgsolve) ─────────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Not NULL outvars + DROP_OTHERS (rxode2/mrgsolve) ───────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Not NULL outvars from ERROR block + DROP_OTHERS (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Covariates in outvars can be output well (rxode2/mrgsolve) ─────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): ETAs in outvars can be output well (rxode2/mrgsolve) ───────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Test generated RUV is correct (rxode2/mrgsolve) ────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Simulate scenarios - make few changes on dataset (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Simulate scenarios - make few changes on model (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Weibull model simulation works as expected (rxode2/mrgsolve) ───
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Simulate a bolus using the tabular dataset (rxode2/mrgsolve) ───
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Body weight as a true time varying covariate (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Body weight as a true time varying covariate, 2 arms, individual body weights (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
     ── Error (???): Simulate a bolus with single observation at time 0 (rxode2/mrgsolve) ──
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
     Caused by error:
     ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
     can try: install.packages('rxode2', type='source')
     Backtrace:
     ▆
     1. ├─campsis::simulate(...)
     2. ├─campsis::simulate(...)
     3. │ └─campsis:::simulateDelegate(...)
     4. │ └─campsis:::simulateScenarios(...)
     5. │ └─purrr::map2_df(...)
     6. │ └─purrr::map2(.x, .y, .f, ...)
     7. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─campsis (local) .f(.x[[i]], .y[[i]], ...)
     12. │ └─campsis:::simulateDelegateCore(...)
     13. │ ├─campsis::simulate(...)
     14. │ └─campsis::simulate(...)
     15. ├─base::loadNamespace(x)
     16. │ └─base (local) runHook(".onLoad", env, package.lib, package)
     17. │ └─base::stop(...)
     18. └─base::.handleSimpleError(...)
     19. └─purrr (local) h(simpleError(msg, call))
     20. └─cli::cli_abort(...)
     21. └─rlang::abort(...)
    
     [ FAIL 39 | WARN 82 | SKIP 25 | PASS 307 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64

Version: 1.3.0
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
    --- re-building 'campsis.Rmd' using rmarkdown
    Quitting from lines 43-45 (campsis.Rmd)
    Error: processing vignette 'campsis.Rmd' failed with diagnostics:
    ℹ In index: 1.
    Caused by error:
    ! .onLoad failed in loadNamespace() for 'rxode2', details:
     call: NULL
     error: rxode2 compiled with rxode2parse with a different solving structure
    can try: install.packages('rxode2', type='source')
    --- failed re-building 'campsis.Rmd'
    
    SUMMARY: processing the following file failed:
     'campsis.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-windows-x86_64