CRAN Package Check Results for Package amp.sim

Last updated on 2026-08-05 17:52:20 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 4.27 129.94 134.21 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 3.15 90.02 93.17 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 98.29 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 96.14 OK
r-devel-windows-x86_64 0.1.1 6.00 122.00 128.00 ERROR
r-patched-linux-x86_64 0.1.1 3.81 117.69 121.50 OK
r-release-linux-x86_64 0.1.1 4.40 117.91 122.31 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 126.00 132.00 ERROR
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 161.00 170.00 ERROR

Check Details

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 inDL(x, as.logical(local), as.logical(now), ...) : unable to load shared object 'D:/RCompile/CRANpkg/lib/4.7/rxode2/libs/x64/rxode2.dll': LoadLibrary failure: Die angegebene Prozedur wurde nicht gefunden. Calls: suppressMessages ... asNamespace -> loadNamespace -> library.dynam -> dyn.load -> inDL Execution halted Flavor: r-devel-windows-x86_64

Version: 0.1.1
Check: tests
Result: ERROR Running 'testthat.R' [22s] 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 0 | 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 `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.7/rxode2/libs/x64/rxode2.dll': LoadLibrary failure: Die angegebene Prozedur wurde nicht gefunden. Backtrace: ▆ 1. ├─base::suppressMessages(...) at test_readconvert.R:323:3 2. │ └─base::withCallingHandlers(...) 3. ├─amp.sim::convert_nonmem(...) 4. │ └─amp.sim:::nm2nonmem2rx(model, out = out, control = control) 5. └─base::loadNamespace(x) 6. ├─base::namespaceImportFrom(...) 7. │ └─base::asNamespace(ns) 8. └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) 9. └─base::library.dynam(lib, package, package.lib) 10. └─base::dyn.load(file, DLLpath = DLLpath, ...) 11. └─base (local) inDL(x, as.logical(local), as.logical(now), ...) [ FAIL 1 | WARN 0 | SKIP 1 | PASS 211 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

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 inDL(x, as.logical(local), as.logical(now), ...) : unable to load shared object 'D:/RCompile/CRANpkg/lib/4.6/rxode2/libs/x64/rxode2.dll': LoadLibrary failure: Die angegebene Prozedur wurde nicht gefunden. Calls: suppressMessages ... asNamespace -> loadNamespace -> library.dynam -> dyn.load -> inDL Execution halted Flavor: r-release-windows-x86_64

Version: 0.1.1
Check: tests
Result: ERROR Running 'testthat.R' [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 0 | 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 `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.6/rxode2/libs/x64/rxode2.dll': LoadLibrary failure: Die angegebene Prozedur wurde nicht gefunden. Backtrace: ▆ 1. ├─base::suppressMessages(...) at test_readconvert.R:323:3 2. │ └─base::withCallingHandlers(...) 3. ├─amp.sim::convert_nonmem(...) 4. │ └─amp.sim:::nm2nonmem2rx(model, out = out, control = control) 5. └─base::loadNamespace(x) 6. ├─base::namespaceImportFrom(...) 7. │ └─base::asNamespace(ns) 8. └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) 9. └─base::library.dynam(lib, package, package.lib) 10. └─base::dyn.load(file, DLLpath = DLLpath, ...) 11. └─base (local) inDL(x, as.logical(local), as.logical(now), ...) [ FAIL 1 | WARN 0 | SKIP 1 | PASS 211 ] Error: ! Test failures. Execution halted Flavor: r-release-windows-x86_64

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 inDL(x, as.logical(local), as.logical(now), ...) : unable to load shared object 'D:/RCompile/CRANpkg/lib/4.5/rxode2/libs/x64/rxode2.dll': LoadLibrary failure: Die angegebene Prozedur wurde nicht gefunden. Calls: suppressMessages ... asNamespace -> loadNamespace -> library.dynam -> dyn.load -> inDL Execution halted Flavor: r-oldrel-windows-x86_64

Version: 0.1.1
Check: tests
Result: ERROR Running 'testthat.R' [31s] 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 0 | 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 `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.5/rxode2/libs/x64/rxode2.dll': LoadLibrary failure: Die angegebene Prozedur wurde nicht gefunden. Backtrace: ▆ 1. ├─base::suppressMessages(...) at test_readconvert.R:323:3 2. │ └─base::withCallingHandlers(...) 3. ├─amp.sim::convert_nonmem(...) 4. │ └─amp.sim:::nm2nonmem2rx(model, out = out, control = control) 5. └─base::loadNamespace(x) 6. ├─base::namespaceImportFrom(...) 7. │ └─base::asNamespace(ns) 8. └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) 9. └─base::library.dynam(lib, package, package.lib) 10. └─base::dyn.load(file, DLLpath = DLLpath, ...) 11. └─base (local) inDL(x, as.logical(local), as.logical(now), ...) [ FAIL 1 | WARN 0 | SKIP 1 | PASS 211 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64