Running 'testthat.R' [41s]
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")
  [ FAIL 43 | WARN 29 | SKIP 25 | PASS 287 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (25)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('testCompilationError.R:19'): 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 in `eigen()`:\n! LAPACK routines cannot be loaded"
  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:::exportTableDelegate(...)
   19. │                 └─dataset %>% ...
   20. ├─campsismod::export(...)
   21. ├─campsis (local) export(...)
   22. │ └─campsis (local) .local(object, dest, ...)
   23. │   └─object %>% ...
   24. ├─campsismod::export(...)
   25. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   26. │ └─campsis (local) .local(object, dest, ...)
   27. │   └─campsis:::exportDelegate(...)
   28. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   29. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   30. │         └─base::eigen(Sigma, symmetric = TRUE)
   31. └─base::.handleSimpleError(...)
   32.   └─purrr (local) h(simpleError(msg, call))
   33.     └─cli::cli_abort(...)
   34.       └─rlang::abort(...)
  ── Failure ('testCompilationError.R:23'): 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 model build step failed"
  Actual message: "ℹ In index: 1.\nCaused by error in `eigen()`:\n! LAPACK routines cannot be loaded"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at testCompilationError.R:23: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:::exportTableDelegate(...)
   19. │                 └─dataset %>% ...
   20. ├─campsismod::export(...)
   21. ├─campsis (local) export(...)
   22. │ └─campsis (local) .local(object, dest, ...)
   23. │   └─object %>% ...
   24. ├─campsismod::export(...)
   25. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   26. │ └─campsis (local) .local(object, dest, ...)
   27. │   └─campsis:::exportDelegate(...)
   28. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   29. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   30. │         └─base::eigen(Sigma, symmetric = TRUE)
   31. └─base::.handleSimpleError(...)
   32.   └─purrr (local) h(simpleError(msg, call))
   33.     └─cli::cli_abort(...)
   34.       └─rlang::abort(...)
  ── Failure ('testCompilationError.R:26'): Incorrect Campsis model does not compile and a clear error message is shown (rxode2/mrgsolve) ──
  `tryCatch(...)` did not produce any messages.
  ── Error ('testParameterUncertainty.R:8'): Sample method on a CAMPSIS model is working well ──
  Error in `eigen(Sigma, symmetric = TRUE)`: LAPACK routines cannot be loaded
  Backtrace:
      ▆
   1. ├─model %>% sample(as.integer(100)) at testParameterUncertainty.R:8:2
   2. ├─campsis::sample(., as.integer(100))
   3. └─campsis::sample(., as.integer(100))
   4.   └─campsis (local) .local(object, n, ...)
   5.     └─MASS::mvrnorm(n = n, mu = mean, Sigma = varcov)
   6.       └─base::eigen(Sigma, symmetric = TRUE)
  ── Error ('testParameterUncertainty.R:34'): Replicate a model that has IOV works as expected ──
  Error in `eigen(Sigma, symmetric = TRUE)`: LAPACK routines cannot be loaded
  Backtrace:
      ▆
   1. ├─pk %>% sample(2L) at testParameterUncertainty.R:34:2
   2. ├─campsis::sample(., 2L)
   3. └─campsis::sample(., 2L)
   4.   └─campsis (local) .local(object, n, ...)
   5.     └─MASS::mvrnorm(n = n, mu = mean, Sigma = varcov)
   6.       └─base::eigen(Sigma, symmetric = TRUE)
  ── Error ('testSimulateArguments.R:17'): Argument dest works well ──────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `map2(.x, .y, .f, ...)`: ℹ In index: 1.
  Caused by error in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   15. │                 └─dataset %>% ...
   16. ├─campsismod::export(...)
   17. ├─campsis (local) export(...)
   18. │ └─campsis (local) .local(object, dest, ...)
   19. │   └─object %>% ...
   20. ├─campsismod::export(...)
   21. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   22. │ └─campsis (local) .local(object, dest, ...)
   23. │   └─campsis:::exportDelegate(...)
   24. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   25. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   26. │         └─base::eigen(Sigma, symmetric = TRUE)
   27. └─base::.handleSimpleError(...)
   28.   └─purrr (local) h(simpleError(msg, call))
   29.     └─cli::cli_abort(...)
   30.       └─rlang::abort(...)
  ── Error ('testSimulateArguments.R:29'): 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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   15. │                 └─dataset %>% ...
   16. ├─campsismod::export(...)
   17. ├─campsis (local) export(...)
   18. │ └─campsis (local) .local(object, dest, ...)
   19. │   └─object %>% ...
   20. ├─campsismod::export(...)
   21. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   22. │ └─campsis (local) .local(object, dest, ...)
   23. │   └─campsis:::exportDelegate(...)
   24. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   25. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   26. │         └─base::eigen(Sigma, symmetric = TRUE)
   27. └─base::.handleSimpleError(...)
   28.   └─purrr (local) h(simpleError(msg, call))
   29.     └─cli::cli_abort(...)
   30.       └─rlang::abort(...)
  ── Error ('testSimulateBioavailability.R:24'): Simulate a bolus, 2 arms, F1 only in arm1, in dataset (rxode2/mrgsolve) ──
  Error in `eigen(Sigma, symmetric = TRUE)`: LAPACK routines cannot be loaded
  Backtrace:
       ▆
    1. ├─global datasetRegressionTest(dataset, model, seed = seed, filename = regFilename) at testSimulateBioavailability.R:24:2
    2. │ └─global datasetInMemory(...)
    3. │   └─dataset %>% export(dest = "RxODE", model = model, seed = seed)
    4. ├─campsismod::export(., dest = "RxODE", model = model, seed = seed)
    5. ├─campsis (local) export(., dest = "RxODE", model = model, seed = seed)
    6. │ └─campsis (local) .local(object, dest, ...)
    7. │   └─object %>% ...
    8. ├─campsismod::export(...)
    9. └─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   10.   └─campsis (local) .local(object, dest, ...)
   11.     └─campsis:::exportDelegate(...)
   12.       └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   13.         └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   14.           └─base::eigen(Sigma, symmetric = TRUE)
  ── Error ('testSimulateBioavailability.R:42'): Simulate a simple bolus with bioavailability, dataset versus model (rxode2/mrgsolve) ──
  Error in `eigen(Sigma, symmetric = TRUE)`: LAPACK routines cannot be loaded
  Backtrace:
       ▆
    1. ├─global datasetRegressionTest(dataset, model, seed = seed, filename = regFilename) at testSimulateBioavailability.R:42:2
    2. │ └─global datasetInMemory(...)
    3. │   └─dataset %>% export(dest = "RxODE", model = model, seed = seed)
    4. ├─campsismod::export(., dest = "RxODE", model = model, seed = seed)
    5. ├─campsis (local) export(., dest = "RxODE", model = model, seed = seed)
    6. │ └─campsis (local) .local(object, dest, ...)
    7. │   └─object %>% ...
    8. ├─campsismod::export(...)
    9. └─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   10.   └─campsis (local) .local(object, dest, ...)
   11.     └─campsis:::exportDelegate(...)
   12.       └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   13.         └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   14.           └─base::eigen(Sigma, symmetric = TRUE)
  ── 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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   15. │                 └─dataset %>% ...
   16. ├─campsismod::export(...)
   17. ├─campsis (local) export(...)
   18. │ └─campsis (local) .local(object, dest, ...)
   19. │   └─object %>% ...
   20. ├─campsismod::export(...)
   21. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   22. │ └─campsis (local) .local(object, dest, ...)
   23. │   └─campsis:::exportDelegate(...)
   24. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   25. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   26. │         └─base::eigen(Sigma, symmetric = TRUE)
   27. └─base::.handleSimpleError(...)
   28.   └─purrr (local) h(simpleError(msg, call))
   29.     └─cli::cli_abort(...)
   30.       └─rlang::abort(...)
  ── Error ('testSimulateBolus.R:16'): Simulate a bolus (rxode2/mrgsolve) ────────
  Error in `eigen(Sigma, symmetric = TRUE)`: LAPACK routines cannot be loaded
  Backtrace:
       ▆
    1. ├─global datasetRegressionTest(dataset, model, seed = seed, filename = regFilename) at testSimulateBolus.R:16:2
    2. │ └─global datasetInMemory(...)
    3. │   └─dataset %>% export(dest = "RxODE", model = model, seed = seed)
    4. ├─campsismod::export(., dest = "RxODE", model = model, seed = seed)
    5. ├─campsis (local) export(., dest = "RxODE", model = model, seed = seed)
    6. │ └─campsis (local) .local(object, dest, ...)
    7. │   └─object %>% ...
    8. ├─campsismod::export(...)
    9. └─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   10.   └─campsis (local) .local(object, dest, ...)
   11.     └─campsis:::exportDelegate(...)
   12.       └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   13.         └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   14.           └─base::eigen(Sigma, symmetric = TRUE)
  ── Error ('testSimulateBolus.R:42'): Simulate a bolus, 2 arms (rxode2/mrgsolve) ──
  Error in `eigen(Sigma, symmetric = TRUE)`: LAPACK routines cannot be loaded
  Backtrace:
       ▆
    1. ├─global datasetRegressionTest(dataset, model, seed = seed, filename = regFilename) at testSimulateBolus.R:42:2
    2. │ └─global datasetInMemory(...)
    3. │   └─dataset %>% export(dest = "RxODE", model = model, seed = seed)
    4. ├─campsismod::export(., dest = "RxODE", model = model, seed = seed)
    5. ├─campsis (local) export(., dest = "RxODE", model = model, seed = seed)
    6. │ └─campsis (local) .local(object, dest, ...)
    7. │   └─object %>% ...
    8. ├─campsismod::export(...)
    9. └─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   10.   └─campsis (local) .local(object, dest, ...)
   11.     └─campsis:::exportDelegate(...)
   12.       └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   13.         └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   14.           └─base::eigen(Sigma, symmetric = TRUE)
  ── 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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   15. │                 └─dataset %>% ...
   16. ├─campsismod::export(...)
   17. ├─campsis (local) export(...)
   18. │ └─campsis (local) .local(object, dest, ...)
   19. │   └─object %>% ...
   20. ├─campsismod::export(...)
   21. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   22. │ └─campsis (local) .local(object, dest, ...)
   23. │   └─campsis:::exportDelegate(...)
   24. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   25. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   26. │         └─base::eigen(Sigma, symmetric = TRUE)
   27. └─base::.handleSimpleError(...)
   28.   └─purrr (local) h(simpleError(msg, call))
   29.     └─cli::cli_abort(...)
   30.       └─rlang::abort(...)
  ── Error ('testSimulateBolusInfusionSameCmt.R:20'): Bolus and infusion in CMT 1 (rxode2/mrgsolve) ──
  Error in `eigen(Sigma, symmetric = TRUE)`: LAPACK routines cannot be loaded
  Backtrace:
       ▆
    1. ├─global datasetRegressionTest(dataset, model, seed = seed, filename = regFilename) at testSimulateBolusInfusionSameCmt.R:20:2
    2. │ └─global datasetInMemory(...)
    3. │   └─dataset %>% export(dest = "RxODE", model = model, seed = seed)
    4. ├─campsismod::export(., dest = "RxODE", model = model, seed = seed)
    5. ├─campsis (local) export(., dest = "RxODE", model = model, seed = seed)
    6. │ └─campsis (local) .local(object, dest, ...)
    7. │   └─object %>% ...
    8. ├─campsismod::export(...)
    9. └─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   10.   └─campsis (local) .local(object, dest, ...)
   11.     └─campsis:::exportDelegate(...)
   12.       └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   13.         └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   14.           └─base::eigen(Sigma, symmetric = TRUE)
  ── Error ('testSimulateDeclare.R:17'): Declare argument with mrgsolve ──────────
  Error in `eigen(Sigma, symmetric = TRUE)`: LAPACK routines cannot be loaded
  Backtrace:
       ▆
    1. ├─global datasetRegressionTest(dataset, model, seed = seed, filename = regFilename) at testSimulateDeclare.R:17:2
    2. │ └─global datasetInMemory(...)
    3. │   └─dataset %>% export(dest = "RxODE", model = model, seed = seed)
    4. ├─campsismod::export(., dest = "RxODE", model = model, seed = seed)
    5. ├─campsis (local) export(., dest = "RxODE", model = model, seed = seed)
    6. │ └─campsis (local) .local(object, dest, ...)
    7. │   └─object %>% ...
    8. ├─campsismod::export(...)
    9. └─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   10.   └─campsis (local) .local(object, dest, ...)
   11.     └─campsis:::exportDelegate(...)
   12.       └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   13.         └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   14.           └─base::eigen(Sigma, symmetric = TRUE)
  ── Error ('testSimulateDoseAdaptation.R:18'): Dose adaptations based on weight work well (rxode2/mrgsolve) ──
  Error in `eigen(Sigma, symmetric = TRUE)`: LAPACK routines cannot be loaded
  Backtrace:
       ▆
    1. ├─global datasetRegressionTest(dataset, model, seed = seed, filename = regFilename) at testSimulateDoseAdaptation.R:18:2
    2. │ └─global datasetInMemory(...)
    3. │   └─dataset %>% export(dest = "RxODE", model = model, seed = seed)
    4. ├─campsismod::export(., dest = "RxODE", model = model, seed = seed)
    5. ├─campsis (local) export(., dest = "RxODE", model = model, seed = seed)
    6. │ └─campsis (local) .local(object, dest, ...)
    7. │   └─object %>% ...
    8. ├─campsismod::export(...)
    9. └─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   10.   └─campsis (local) .local(object, dest, ...)
   11.     └─campsis:::exportDelegate(...)
   12.       └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   13.         └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   14.           └─base::eigen(Sigma, symmetric = TRUE)
  ── Error ('testSimulateDoseAdaptation.R:37'): Dose adaptations preserve specified infusion duration (rxode2/mrgsolve) ──
  Error in `eigen(Sigma, symmetric = TRUE)`: LAPACK routines cannot be loaded
  Backtrace:
       ▆
    1. ├─global datasetRegressionTest(dataset, model, seed = seed, filename = regFilename) at testSimulateDoseAdaptation.R:37:2
    2. │ └─global datasetInMemory(...)
    3. │   └─dataset %>% export(dest = "RxODE", model = model, seed = seed)
    4. ├─campsismod::export(., dest = "RxODE", model = model, seed = seed)
    5. ├─campsis (local) export(., dest = "RxODE", model = model, seed = seed)
    6. │ └─campsis (local) .local(object, dest, ...)
    7. │   └─object %>% ...
    8. ├─campsismod::export(...)
    9. └─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   10.   └─campsis (local) .local(object, dest, ...)
   11.     └─campsis:::exportDelegate(...)
   12.       └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   13.         └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   14.           └─base::eigen(Sigma, symmetric = TRUE)
  ── 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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─rlang::abort(...)
  ── Error ('testSimulateInfusion.R:52'): Simulate infusion using rate in dataset (rxode2/mrgsolve) ──
  Error in `eigen(Sigma, symmetric = TRUE)`: LAPACK routines cannot be loaded
  Backtrace:
       ▆
    1. ├─global datasetRegressionTest(dataset, model, seed = seed, filename = regFilename) at testSimulateInfusion.R:52:2
    2. │ └─global datasetInMemory(...)
    3. │   └─dataset %>% export(dest = "RxODE", model = model, seed = seed)
    4. ├─campsismod::export(., dest = "RxODE", model = model, seed = seed)
    5. ├─campsis (local) export(., dest = "RxODE", model = model, seed = seed)
    6. │ └─campsis (local) .local(object, dest, ...)
    7. │   └─object %>% ...
    8. ├─campsismod::export(...)
    9. └─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   10.   └─campsis (local) .local(object, dest, ...)
   11.     └─campsis:::exportDelegate(...)
   12.       └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   13.         └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   14.           └─base::eigen(Sigma, symmetric = TRUE)
  ── Error ('testSimulateInfusion.R:89'): Simulate infusion using rate and lag time in dataset (rxode2/mrgsolve) ──
  Error in `eigen(Sigma, symmetric = TRUE)`: LAPACK routines cannot be loaded
  Backtrace:
       ▆
    1. ├─global datasetRegressionTest(dataset, model, seed = seed, filename = regFilename) at testSimulateInfusion.R:89:2
    2. │ └─global datasetInMemory(...)
    3. │   └─dataset %>% export(dest = "RxODE", model = model, seed = seed)
    4. ├─campsismod::export(., dest = "RxODE", model = model, seed = seed)
    5. ├─campsis (local) export(., dest = "RxODE", model = model, seed = seed)
    6. │ └─campsis (local) .local(object, dest, ...)
    7. │   └─object %>% ...
    8. ├─campsismod::export(...)
    9. └─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   10.   └─campsis (local) .local(object, dest, ...)
   11.     └─campsis:::exportDelegate(...)
   12.       └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   13.         └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   14.           └─base::eigen(Sigma, symmetric = TRUE)
  ── Error ('testSimulateInfusion.R:110'): Simulate infusion using rate and lag time (parameter distribution) in dataset (rxode2/mrgsolve) ──
  Error in `eigen(Sigma, symmetric = TRUE)`: LAPACK routines cannot be loaded
  Backtrace:
       ▆
    1. ├─global datasetRegressionTest(dataset, model, seed = seed, filename = regFilename) at testSimulateInfusion.R:110:2
    2. │ └─global datasetInMemory(...)
    3. │   └─dataset %>% export(dest = "RxODE", model = model, seed = seed)
    4. ├─campsismod::export(., dest = "RxODE", model = model, seed = seed)
    5. ├─campsis (local) export(., dest = "RxODE", model = model, seed = seed)
    6. │ └─campsis (local) .local(object, dest, ...)
    7. │   └─object %>% ...
    8. ├─campsismod::export(...)
    9. └─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   10.   └─campsis (local) .local(object, dest, ...)
   11.     └─campsis:::exportDelegate(...)
   12.       └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   13.         └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   14.           └─base::eigen(Sigma, symmetric = TRUE)
  ── 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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─rlang::abort(...)
  ── Error ('testSimulateLagTime.R:16'): Simulate a bolus with fixed lag time in dataset (rxode2/mrgsolve) ──
  Error in `eigen(Sigma, symmetric = TRUE)`: LAPACK routines cannot be loaded
  Backtrace:
       ▆
    1. ├─global datasetRegressionTest(...) at testSimulateLagTime.R:16:2
    2. │ └─global datasetInMemory(...)
    3. │   └─dataset %>% export(dest = "RxODE", model = model, seed = seed)
    4. ├─campsismod::export(., dest = "RxODE", model = model, seed = seed)
    5. ├─campsis (local) export(., dest = "RxODE", model = model, seed = seed)
    6. │ └─campsis (local) .local(object, dest, ...)
    7. │   └─object %>% ...
    8. ├─campsismod::export(...)
    9. └─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   10.   └─campsis (local) .local(object, dest, ...)
   11.     └─campsis:::exportDelegate(...)
   12.       └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   13.         └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   14.           └─base::eigen(Sigma, symmetric = TRUE)
  ── Error ('testSimulateLagTime.R:37'): Simulate a bolus with fixed lag time in model (rxode2/mrgsolve) ──
  Error in `eigen(Sigma, symmetric = TRUE)`: LAPACK routines cannot be loaded
  Backtrace:
       ▆
    1. ├─global datasetRegressionTest(...) at testSimulateLagTime.R:37:2
    2. │ └─global datasetInMemory(...)
    3. │   └─dataset %>% export(dest = "RxODE", model = model, seed = seed)
    4. ├─campsismod::export(., dest = "RxODE", model = model, seed = seed)
    5. ├─campsis (local) export(., dest = "RxODE", model = model, seed = seed)
    6. │ └─campsis (local) .local(object, dest, ...)
    7. │   └─object %>% ...
    8. ├─campsismod::export(...)
    9. └─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   10.   └─campsis (local) .local(object, dest, ...)
   11.     └─campsis:::exportDelegate(...)
   12.       └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   13.         └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   14.           └─base::eigen(Sigma, symmetric = TRUE)
  ── 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 in `La_library()`:
  ! LAPACK routines cannot be loaded
  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. │                 └─rxode2::rxode2(paste0(rxmod@code, collapse = "\n"))
   16. │                   └─rxode2::rxGetModel(...)
   17. │                     └─rxode2::rxModelVars(model)
   18. │                       └─rxode2:::rxModelVars_(obj)
   19. ├─rxode2 (local) `<fn>`("THALF=12\nK=log(2)/THALF\nARM=ARM\nEVENT_RELATED=EVENT_RELATED\nd/dt(A_CENTRAL)=-K*A_CENTRAL\nA_CENTRAL(0)=1000")
   20. │ ├─rxode2::rxTrans(.parseModel, modelPrefix = .prefix, modVars = TRUE)
   21. │ ├─rxode2:::rxTrans.character(...)
   22. │ │ ├─base::withVisible(eval(mc, parent.frame()))
   23. │ │ └─base::eval(mc, parent.frame())
   24. │ │   └─base::eval(mc, parent.frame())
   25. │ └─rxode2 (local) `<fn>`(model = .parseModel, modelPrefix = .prefix, modVars = TRUE)
   26. │   └─rxode2::rxMd5(model)
   27. │     └─rxode2::rxVersion()
   28. │       └─utils::sessionInfo()
   29. │         └─base::La_library()
   30. └─base::.handleSimpleError(...)
   31.   └─purrr (local) h(simpleError(msg, call))
   32.     └─cli::cli_abort(...)
   33.       └─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 in `La_library()`:
  ! LAPACK routines cannot be loaded
  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. │                 └─rxode2::rxode2(paste0(rxmod@code, collapse = "\n"))
   16. │                   └─rxode2::rxGetModel(...)
   17. │                     └─rxode2::rxModelVars(model)
   18. │                       └─rxode2:::rxModelVars_(obj)
   19. ├─rxode2 (local) `<fn>`("KA=THETA_KA*exp(ETA_KA)\nCL=THETA_CL*exp(ETA_CL)\nV=THETA_V*exp(ETA_V)\nS2=V\nARM=ARM\nEVENT_RELATED=EVENT_RELATED\nd/dt(A_DEPOT)=-KA*A_DEPOT\nd/dt(A_CENTRAL)=-CL*A_CENTRAL/V + KA*A_DEPOT\nd/dt(A_OUTPUT)=CL*A_CENTRAL/V\nF=A_CENTRAL/S2\nCP=F\nOBS_CP=CP*(EPS_PROP + 1)\nY=OBS_CP")
   20. │ ├─rxode2::rxTrans(.parseModel, modelPrefix = .prefix, modVars = TRUE)
   21. │ ├─rxode2:::rxTrans.character(...)
   22. │ │ ├─base::withVisible(eval(mc, parent.frame()))
   23. │ │ └─base::eval(mc, parent.frame())
   24. │ │   └─base::eval(mc, parent.frame())
   25. │ └─rxode2 (local) `<fn>`(model = .parseModel, modelPrefix = .prefix, modVars = TRUE)
   26. │   └─rxode2::rxMd5(model)
   27. │     └─rxode2::rxVersion()
   28. │       └─utils::sessionInfo()
   29. │         └─base::La_library()
   30. └─base::.handleSimpleError(...)
   31.   └─purrr (local) h(simpleError(msg, call))
   32.     └─cli::cli_abort(...)
   33.       └─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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─rlang::abort(...)
  ── Error (???): Simulate a bolus using the tabular dataset (rxode2/mrgsolve) ───
  Error in `eigen(Sigma, symmetric = TRUE)`: LAPACK routines cannot be loaded
  Backtrace:
       ▆
    1. ├─dataset %>% export(dest = destEngine, model = model, seed = seed)
    2. ├─campsismod::export(., dest = destEngine, model = model, seed = seed)
    3. ├─campsis (local) export(., dest = destEngine, model = model, seed = seed)
    4. │ └─campsis (local) .local(object, dest, ...)
    5. │   └─object %>% ...
    6. ├─campsismod::export(...)
    7. └─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
    8.   └─campsis (local) .local(object, dest, ...)
    9.     └─campsis:::exportDelegate(...)
   10.       └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   11.         └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   12.           └─base::eigen(Sigma, symmetric = TRUE)
  ── 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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─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 in `eigen()`:
  ! LAPACK routines cannot be loaded
  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:::exportTableDelegate(...)
   14. │                 └─dataset %>% ...
   15. ├─campsismod::export(...)
   16. ├─campsis (local) export(...)
   17. │ └─campsis (local) .local(object, dest, ...)
   18. │   └─object %>% ...
   19. ├─campsismod::export(...)
   20. ├─campsis (local) export(., destinationEngine, seed = seed, nocb = nocb, ...)
   21. │ └─campsis (local) .local(object, dest, ...)
   22. │   └─campsis:::exportDelegate(...)
   23. │     └─campsis::generateIIV(omega = rxmod@omega, n = subjects)
   24. │       └─MASS::mvrnorm(n = n, mu = rep(0, nrow(omega)), Sigma = omega)
   25. │         └─base::eigen(Sigma, symmetric = TRUE)
   26. └─base::.handleSimpleError(...)
   27.   └─purrr (local) h(simpleError(msg, call))
   28.     └─cli::cli_abort(...)
   29.       └─rlang::abort(...)
  
  [ FAIL 43 | WARN 29 | SKIP 25 | PASS 287 ]
  Error: Test failures
  Execution halted