CRAN Package Check Results for Package campsis

Last updated on 2022-04-22 13:50:53 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 20.60 304.80 325.40 OK
r-devel-linux-x86_64-debian-gcc 1.2.0 14.50 211.53 226.03 OK
r-devel-linux-x86_64-fedora-clang 1.2.0 201.58 ERROR
r-devel-linux-x86_64-fedora-gcc 1.2.0 370.97 OK
r-devel-windows-x86_64-new-UL 1.2.0 124.00 396.00 520.00 OK
r-devel-macos-arm64 1.2.0 OK
r-devel-macos-x86_64 1.2.0 OK
r-patched-linux-x86_64 1.2.0 11.43 268.66 280.09 OK
r-release-linux-x86_64 1.2.0 10.07 259.68 269.75 OK
r-release-macos-arm64 1.2.0 OK
r-release-macos-x86_64 1.2.0 OK
r-release-windows-ix86+x86_64 1.2.0 35.00 334.00 369.00 OK
r-oldrel-macos-x86_64 1.2.0 OK
r-oldrel-windows-ix86+x86_64 1.2.0 36.00 353.00 389.00 OK

Additional issues

M1mac

Check Details

Version: 1.2.0
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘RxODE’
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [42s/201s]
    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 44 | WARN 0 | SKIP 25 | PASS 289 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • empty test (25)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (testRUV.R:12:3): Test RUV generated with RxODE & mrgsolve is correct ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset = ds, dest = "RxODE", seed = 1) at testRUV.R:12:2
     2. └─campsis::simulate(., dataset = ds, dest = "RxODE", seed = 1)
     3. └─campsis:::preprocessDest(dest)
     ── Failure (testSimulateArguments.R:34:3): Auto seed value vs fix seed + default engine ──
     all(c("KA", "CL", "V2") %in% colnames(results1)) is not TRUE
    
     `actual`: FALSE
     `expected`: TRUE
     ── Error (testSimulateBioavailability.R:20:3): Simulate a bolus, 2 arms, F1 only in arm1, in dataset ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateBioavailability.R:20:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateBioavailability.R:38:3): Simulate a simple bolus with bioavailability (dataset versus model) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateBioavailability.R:38:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateBioavailability.R:78:3): Simulate several fixed fs at once ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% disable("IIV") %>% ... at testSimulateBioavailability.R:78:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateBolus.R:17:3): Simulate a bolus (RxODE/mrgsolve) ─────────
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateBolus.R:17:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateBolus.R:44:3): Simulate a bolus, 2 arms (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateBolus.R:44:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateBolus.R:72:3): Simulate a bolus, 2 labelled arms (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateBolus.R:72:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateBolusInfusionSameCmt.R:20:3): Bolus and infusion in CMT 1 ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateBolusInfusionSameCmt.R:20:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateCmtCharacteristics.R:14:3): Add lag time to model ────────
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateCmtCharacteristics.R:14:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateCmtCharacteristics.R:30:3): Add bioavailability to model ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateCmtCharacteristics.R:30:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateCmtCharacteristics.R:43:3): Add infusion rate to model ───
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateCmtCharacteristics.R:43:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateCmtCharacteristics.R:55:3): Add infusion duration to model ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateCmtCharacteristics.R:55:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateCmtCharacteristics.R:71:3): Reproduce RxODE bug with a minimalist example ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateCmtCharacteristics.R:71:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateDeclare.R:20:3): Declare argument with mrgsolve ──────────
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% ... at testSimulateDeclare.R:20:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed, tablefun = tablefun)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateDoseAdaptation.R:18:3): Dose adaptations based on weight work well (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateDoseAdaptation.R:18:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateDoseAdaptation.R:40:3): Dose adaptations preserve specified infusion duration (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateDoseAdaptation.R:40:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateDoseAdaptation.R:70:3): Dose adaptations preserve specified infusion rate (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateDoseAdaptation.R:70:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateDoseAdaptation.R:98:3): Dose adaptations based on weight work well, check argument compartments works as expected (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateDoseAdaptation.R:98:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateDosingInfo.R:18:3): Dose adaptations can be checked in CAMPSIS output if dosing is TRUE (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateDosingInfo.R:18:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateInfusion.R:58:3): Simulate infusion using rate in dataset ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateInfusion.R:58:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateInfusion.R:102:3): Simulate infusion using rate and lag time in dataset ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateInfusion.R:102:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateInfusion.R:126:3): Simulate infusion using rate and lag time (parameter distribution) in dataset ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateInfusion.R:126:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateInit.R:17:3): Simulate initial conditions, observations starting at 0 (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateInit.R:17:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateInit.R:36:3): Simulate initial conditions, observations starting at 5 (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateInit.R:36:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateLagTime.R:16:3): Simulate a bolus with fixed lag time in dataset ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateLagTime.R:16:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateLagTime.R:40:3): Simulate a bolus with fixed lag time in model ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateLagTime.R:40:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateMinimalistModel.R:15:3): Simulate a minimalist model (no parameter files, no IIV & error model) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateMinimalistModel.R:15:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateNoOmega.R:21:3): Simulate a 1-cpt model without OMEGA's/SIGMA's (Github issue #8) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateNoOmega.R:21:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateOutvars.R:13:3): NULL outvars (RxODE/mrgsolve) ───────────
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateOutvars.R:13:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateOutvars.R:27:3): Not NULL outvars (RxODE/mrgsolve) ───────
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% ... at testSimulateOutvars.R:27:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed, outvars = "KA")
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateOutvars.R:41:3): Not NULL outvars + DROP_OTHERS (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% ... at testSimulateOutvars.R:41:2
     2. └─campsis::simulate(...)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateOutvars.R:55:3): Not NULL outvars from ERROR block + DROP_OTHERS (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% ... at testSimulateOutvars.R:55:2
     2. └─campsis::simulate(...)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateOutvars.R:70:3): Covariates in outvars can be output well (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% ... at testSimulateOutvars.R:70:2
     2. └─campsis::simulate(...)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateOutvars.R:84:3): ETAs in outvars can be output well (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% ... at testSimulateOutvars.R:84:2
     2. └─campsis::simulate(...)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateScenarios.R:21:3): Simulate scenarios - make few changes on dataset (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% ... at testSimulateScenarios.R:21:2
     2. └─campsis::simulate(...)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateScenarios.R:65:3): Simulate scenarios - make few changes on model (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% ... at testSimulateScenarios.R:65:2
     2. └─campsis::simulate(...)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateTable.R:18:3): Simulate a bolus (RxODE/mrgsolve) by giving the exported dataset (table form) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(table, dest = "RxODE", seed = seed) at testSimulateTable.R:18:2
     2. └─campsis::simulate(., table, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateTimeVaryingCovariates.R:19:3): Body weight as a true time varying covariate (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% ... at testSimulateTimeVaryingCovariates.R:19:2
     2. └─campsis::simulate(...)
     3. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateTimeVaryingCovariates.R:52:3): Body weight as a true time varying covariate, 2 arms, individual body weights (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% disable("IIV") %>% ... at testSimulateTimeVaryingCovariates.R:52:2
     2. └─campsis::simulate(...)
     3. └─campsis:::preprocessDest(dest)
     ── Failure (testSimulateWeirdCases.R:12:3): Simulate a bolus without observation ──
     `model %>% simulate(dataset, dest = "RxODE", seed = seed)` threw an error with unexpected message.
     Expected match: "Dataset does not contain any observation"
     Actual message: "Simulation engine 'RxODE' is not installed"
     Backtrace:
     ▆
     1. ├─testthat::expect_error(...) at testSimulateWeirdCases.R:12:2
     2. │ └─testthat:::quasi_capture(...)
     3. │ ├─testthat .capture(...)
     4. │ │ └─base::withCallingHandlers(...)
     5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed)
     7. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     8. └─campsis:::preprocessDest(dest)
     ── Error (testSimulateWeirdCases.R:22:3): Simulate a bolus with single observation at time 0 (RxODE/mrgsolve) ──
     Error in `preprocessDest(dest)`: Simulation engine 'RxODE' is not installed
     Backtrace:
     ▆
     1. ├─model %>% simulate(dataset, dest = "RxODE", seed = seed) at testSimulateWeirdCases.R:22:2
     2. └─campsis::simulate(., dataset, dest = "RxODE", seed = seed)
     3. └─campsis:::preprocessDest(dest)
     ── Failure (testSimulateWeirdCases.R:41:3): Simulate a model which is not valid ──
     `model %>% simulate(dataset, dest = "RxODE")` threw an error with unexpected message.
     Expected match: "name is length 2. Should be 1."
     Actual message: "Simulation engine 'RxODE' is not installed"
     Backtrace:
     ▆
     1. ├─testthat::expect_error(...) at testSimulateWeirdCases.R:41:2
     2. │ └─testthat:::quasi_capture(...)
     3. │ ├─testthat .capture(...)
     4. │ │ └─base::withCallingHandlers(...)
     5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. ├─model %>% simulate(dataset, dest = "RxODE")
     7. └─campsis::simulate(., dataset, dest = "RxODE")
     8. └─campsis:::preprocessDest(dest)
     ── Failure (testSimulateWeirdCases.R:54:3): Simulate a dataset which is not valid ──
     `model %>% simulate(dataset, dest = "RxODE")` threw an error with unexpected message.
     Expected match: "amount is length 2. Should be 1."
     Actual message: "Simulation engine 'RxODE' is not installed"
     Backtrace:
     ▆
     1. ├─testthat::expect_error(...) at testSimulateWeirdCases.R:54:2
     2. │ └─testthat:::quasi_capture(...)
     3. │ ├─testthat .capture(...)
     4. │ │ └─base::withCallingHandlers(...)
     5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. ├─model %>% simulate(dataset, dest = "RxODE")
     7. └─campsis::simulate(., dataset, dest = "RxODE")
     8. └─campsis:::preprocessDest(dest)
    
     [ FAIL 44 | WARN 0 | SKIP 25 | PASS 289 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang