Last updated on 2026-09-14 18:53:27 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.1 | 4.53 | 131.41 | 135.94 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.1.1 | 3.10 | 93.44 | 96.54 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.1.1 | 86.30 | ERROR | |||
| r-devel-linux-x86_64-fedora-gcc | 0.1.1 | 91.67 | OK | |||
| r-devel-windows-x86_64 | 0.1.1 | 7.00 | 148.00 | 155.00 | OK | |
| r-patched-linux-x86_64 | 0.1.1 | 4.71 | 116.05 | 120.76 | OK | |
| r-release-linux-x86_64 | 0.1.1 | 4.28 | 116.68 | 120.96 | OK | |
| r-release-macos-arm64 | 0.1.1 | 1.00 | 58.00 | 59.00 | OK | |
| r-release-macos-x86_64 | 0.1.1 | 3.00 | 117.00 | 120.00 | OK | |
| r-release-windows-x86_64 | 0.1.1 | 6.00 | 145.00 | 151.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.1 | 1.00 | 35.00 | 36.00 | OK | |
| r-oldrel-macos-x86_64 | 0.1.1 | 3.00 | 115.00 | 118.00 | OK | |
| r-oldrel-windows-x86_64 | 0.1.1 | 9.00 | 189.00 | 198.00 | OK |
Version: 0.1.1
Check: examples
Result: ERROR
Running examples in ‘amp.sim-Ex.R’ failed
The error most likely occurred in:
> ### Name: convert_nonmem
> ### Title: Convert NONMEM model to R syntax
> ### Aliases: convert_nonmem
>
> ### ** Examples
>
>
> mod <- system.file("example_models","PK.1CMT.ORAL.mod", package = "amp.sim")
> outf <- tempfile()
>
> convert_nonmem(mod, outf, verbose = FALSE)
> readLines(paste0(outf,".cpp")) |> head(n=15) |> cat(sep="\n")
$PLUGIN autodec nm-vars Rcpp
$PROB 1 CMT PK model with oral absorption
$PARAM
THETA1 = 0.1, THETA2 = 2, THETA3 = 1
$CMT
A1 A2
$PK
KA = THETA(1) * exp(ETA(1)) ;
CL = THETA(2) * exp(ETA(2)) ;
V = THETA(3) ;
S2 = V ;
>
> convert_nonmem(mod, outf, verbose = FALSE, type_return = "nonmem2rx") |> suppressMessages()
Error in convert_nonmem(mod, outf, verbose = FALSE, type_return = "nonmem2rx") :
the nonmem2rx package should be installed to use this option
Calls: suppressMessages -> withCallingHandlers -> convert_nonmem
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [18s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(amp.sim)
>
> test_check("amp.sim")
Saving _problems/test_readconvert-324.R
[ FAIL 1 | WARN 1 | SKIP 1 | PASS 211 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• empty test (1): 'test_readconvert.R:217:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_readconvert.R:323:3'): convert_nonmem returns the correctly tranformed model ──
Error in `convert_nonmem(paste0(tdir, "/testmodel.mod"), control = "string", out = paste0(tdir, "/testnm2rx"), overwrite = TRUE, type_return = "nonmem2rx")`: the nonmem2rx package should be installed to use this option
Backtrace:
▆
1. ├─base::suppressMessages(...) at test_readconvert.R:323:3
2. │ └─base::withCallingHandlers(...)
3. └─amp.sim::convert_nonmem(...)
[ FAIL 1 | WARN 1 | SKIP 1 | PASS 211 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang