CRAN Package Check Results for Package nlmixr2targets

Last updated on 2026-08-05 09:50:23 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 2.08 85.09 87.17 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 1.89 64.10 65.99 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 443.78 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 141.29 OK
r-devel-windows-x86_64 0.1.0 5.00 64.00 69.00 ERROR
r-patched-linux-x86_64 0.1.0 2.85 78.82 81.67 OK
r-release-linux-x86_64 0.1.0 2.03 79.15 81.18 OK
r-release-macos-arm64 0.1.0 1.00 36.00 37.00 OK
r-release-macos-x86_64 0.1.0 2.00 105.00 107.00 OK
r-release-windows-x86_64 0.1.0 6.00 64.00 70.00 ERROR
r-oldrel-macos-arm64 0.1.0 1.00 41.00 42.00 OK
r-oldrel-macos-x86_64 0.1.0 2.00 104.00 106.00 OK
r-oldrel-windows-x86_64 0.1.0 6.00 71.00 77.00 ERROR

Check Details

Version: 0.1.0
Check: examples
Result: ERROR Running examples in 'nlmixr2targets-Ex.R' failed The error most likely occurred in: > ### Name: tar_nlmixr > ### Title: Generate a set of targets for nlmixr estimation > ### Aliases: tar_nlmixr tar_nlmixr_raw > > ### ** Examples > > pheno <- function() { + ini({ + lcl <- log(0.008); label("Typical value of clearance") + lvc <- log(0.6); label("Typical value of volume of distribution") + etalcl + etalvc ~ c(1, + 0.01, 1) + cpaddSd <- 0.1; label("residual variability") + }) + model({ + cl <- exp(lcl + etalcl) + vc <- exp(lvc + etalvc) + kel <- cl / vc + d / dt(central) <- -kel * central + cp <- central / vc + cp ~ add(cpaddSd) + }) + } > > # Build the four targets that estimate `pheno`. `data` and `est` are > # captured as expressions, so this just returns the target list; the > # estimation step runs only when you call `targets::tar_make()` from a > # project whose targets store you have configured (for example, with > # `targets::tar_config_set(store = file.path(tempdir(), "_targets"))` > # or by running inside a project directory you own). > tar_nlmixr( + name = pheno_model, + object = pheno, + data = nlmixr2data::pheno_sd, + est = "saem" + ) 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: tar_nlmixr ... nlmixr_object_protect_zero_initial_helper -> loadNamespace -> library.dynam -> dyn.load -> inDL Execution halted Flavor: r-devel-windows-x86_64

Version: 0.1.0
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [2s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > # Load targets to work around https://github.com/ropensci/targets/issues/642 > library(targets) > library(nlmixr2targets) > > # Remove to replace with on_cran if exported, > # https://github.com/r-lib/testthat/issues/2336 > on_cran_local <- function() { + env <- Sys.getenv("NOT_CRAN") + if (identical(env, "")) { + !interactive() + } else { + !isTRUE(as.logical(env)) + } + } > > if (on_cran_local()) { + rxode2::setRxThreads(1L) + } 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: loadNamespace -> library.dynam -> dyn.load -> inDL Execution halted Flavor: r-devel-windows-x86_64

Version: 0.1.0
Check: examples
Result: ERROR Running examples in 'nlmixr2targets-Ex.R' failed The error most likely occurred in: > ### Name: tar_nlmixr > ### Title: Generate a set of targets for nlmixr estimation > ### Aliases: tar_nlmixr tar_nlmixr_raw > > ### ** Examples > > pheno <- function() { + ini({ + lcl <- log(0.008); label("Typical value of clearance") + lvc <- log(0.6); label("Typical value of volume of distribution") + etalcl + etalvc ~ c(1, + 0.01, 1) + cpaddSd <- 0.1; label("residual variability") + }) + model({ + cl <- exp(lcl + etalcl) + vc <- exp(lvc + etalvc) + kel <- cl / vc + d / dt(central) <- -kel * central + cp <- central / vc + cp ~ add(cpaddSd) + }) + } > > # Build the four targets that estimate `pheno`. `data` and `est` are > # captured as expressions, so this just returns the target list; the > # estimation step runs only when you call `targets::tar_make()` from a > # project whose targets store you have configured (for example, with > # `targets::tar_config_set(store = file.path(tempdir(), "_targets"))` > # or by running inside a project directory you own). > tar_nlmixr( + name = pheno_model, + object = pheno, + data = nlmixr2data::pheno_sd, + est = "saem" + ) 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: tar_nlmixr ... nlmixr_object_protect_zero_initial_helper -> loadNamespace -> library.dynam -> dyn.load -> inDL Execution halted Flavor: r-release-windows-x86_64

Version: 0.1.0
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [3s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > # Load targets to work around https://github.com/ropensci/targets/issues/642 > library(targets) > library(nlmixr2targets) > > # Remove to replace with on_cran if exported, > # https://github.com/r-lib/testthat/issues/2336 > on_cran_local <- function() { + env <- Sys.getenv("NOT_CRAN") + if (identical(env, "")) { + !interactive() + } else { + !isTRUE(as.logical(env)) + } + } > > if (on_cran_local()) { + rxode2::setRxThreads(1L) + } 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: loadNamespace -> library.dynam -> dyn.load -> inDL Execution halted Flavor: r-release-windows-x86_64

Version: 0.1.0
Check: examples
Result: ERROR Running examples in 'nlmixr2targets-Ex.R' failed The error most likely occurred in: > ### Name: tar_nlmixr > ### Title: Generate a set of targets for nlmixr estimation > ### Aliases: tar_nlmixr tar_nlmixr_raw > > ### ** Examples > > pheno <- function() { + ini({ + lcl <- log(0.008); label("Typical value of clearance") + lvc <- log(0.6); label("Typical value of volume of distribution") + etalcl + etalvc ~ c(1, + 0.01, 1) + cpaddSd <- 0.1; label("residual variability") + }) + model({ + cl <- exp(lcl + etalcl) + vc <- exp(lvc + etalvc) + kel <- cl / vc + d / dt(central) <- -kel * central + cp <- central / vc + cp ~ add(cpaddSd) + }) + } > > # Build the four targets that estimate `pheno`. `data` and `est` are > # captured as expressions, so this just returns the target list; the > # estimation step runs only when you call `targets::tar_make()` from a > # project whose targets store you have configured (for example, with > # `targets::tar_config_set(store = file.path(tempdir(), "_targets"))` > # or by running inside a project directory you own). > tar_nlmixr( + name = pheno_model, + object = pheno, + data = nlmixr2data::pheno_sd, + est = "saem" + ) 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: tar_nlmixr ... nlmixr_object_protect_zero_initial_helper -> loadNamespace -> library.dynam -> dyn.load -> inDL Execution halted Flavor: r-oldrel-windows-x86_64

Version: 0.1.0
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [3s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > # Load targets to work around https://github.com/ropensci/targets/issues/642 > library(targets) > library(nlmixr2targets) > > # Remove to replace with on_cran if exported, > # https://github.com/r-lib/testthat/issues/2336 > on_cran_local <- function() { + env <- Sys.getenv("NOT_CRAN") + if (identical(env, "")) { + !interactive() + } else { + !isTRUE(as.logical(env)) + } + } > > if (on_cran_local()) { + rxode2::setRxThreads(1L) + } 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: loadNamespace -> library.dynam -> dyn.load -> inDL Execution halted Flavor: r-oldrel-windows-x86_64