CRAN Package Check Results for Package nlmixr2targets

Last updated on 2026-08-04 02:50:55 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 2.45 83.76 86.21 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 1.74 65.35 67.09 NOTE
r-devel-linux-x86_64-fedora-clang 0.1.0 130.01 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 64.23 OK
r-devel-windows-x86_64 0.1.0 5.00 111.00 116.00 OK
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 74.00 80.00 ERROR

Check Details

Version: 0.1.0
Check: for new files in some other directories
Result: NOTE Found the following files/directories: ‘~/tmp/scratch/Rtmp0DIvpN’ ‘~/tmp/scratch/Rtmp161HQF’ ‘~/tmp/scratch/Rtmp1SJHzh’ ‘~/tmp/scratch/Rtmp2Up3cx’ ‘~/tmp/scratch/Rtmp2fhmTP’ ‘~/tmp/scratch/Rtmp2pIzgk’ ‘~/tmp/scratch/Rtmp3KVX9U’ ‘~/tmp/scratch/Rtmp3SJM0C’ ‘~/tmp/scratch/Rtmp4dzFaK’ ‘~/tmp/scratch/Rtmp5JQ9xe’ ‘~/tmp/scratch/Rtmp5VxGMr’ ‘~/tmp/scratch/Rtmp5v1EAR’ ‘~/tmp/scratch/Rtmp67Gy0G’ ‘~/tmp/scratch/Rtmp6mfeYy’ ‘~/tmp/scratch/Rtmp7DWnqW’ ‘~/tmp/scratch/Rtmp8yqlnq’ ‘~/tmp/scratch/Rtmp8zCpkA’ ‘~/tmp/scratch/RtmpAUKqI6’ ‘~/tmp/scratch/RtmpB0MIgZ’ ‘~/tmp/scratch/RtmpC2eb6B’ ‘~/tmp/scratch/RtmpChDnRt’ ‘~/tmp/scratch/RtmpCm6pw1’ ‘~/tmp/scratch/RtmpCmsqUw’ ‘~/tmp/scratch/RtmpEgOOjv’ ‘~/tmp/scratch/RtmpEqwA3e’ ‘~/tmp/scratch/RtmpEvk1CA’ ‘~/tmp/scratch/RtmpEwtIiD’ ‘~/tmp/scratch/RtmpFMFQib’ ‘~/tmp/scratch/RtmpFS4e4M’ ‘~/tmp/scratch/RtmpFmhiFX’ ‘~/tmp/scratch/RtmpFoplzN’ ‘~/tmp/scratch/RtmpGNRUiZ’ ‘~/tmp/scratch/RtmpGciayL’ ‘~/tmp/scratch/RtmpHO23P2’ ‘~/tmp/scratch/RtmpHwg30Z’ ‘~/tmp/scratch/RtmpIAD3XK’ ‘~/tmp/scratch/RtmpIiERV2’ ‘~/tmp/scratch/RtmpIyUTPU’ ‘~/tmp/scratch/RtmpIydxXx’ ‘~/tmp/scratch/RtmpJ6cFZv’ ‘~/tmp/scratch/RtmpJONVfb’ ‘~/tmp/scratch/RtmpJV7Tab’ ‘~/tmp/scratch/RtmpJwVmJn’ ‘~/tmp/scratch/RtmpKRC5ah’ ‘~/tmp/scratch/RtmpKX7J5V’ ‘~/tmp/scratch/RtmpKfKr4l’ ‘~/tmp/scratch/RtmpKpy1hJ’ ‘~/tmp/scratch/RtmpL8XPQu’ ‘~/tmp/scratch/RtmpLOZeu2’ ‘~/tmp/scratch/RtmpMUCc8N’ ‘~/tmp/scratch/RtmpNwcLbf’ ‘~/tmp/scratch/RtmpNyG4Hp’ ‘~/tmp/scratch/RtmpOBv7My’ ‘~/tmp/scratch/RtmpOctmUl’ ‘~/tmp/scratch/RtmpOpf6HF’ ‘~/tmp/scratch/RtmpOzVIum’ ‘~/tmp/scratch/RtmpP6Ltvz’ ‘~/tmp/scratch/RtmpPYb3as’ ‘~/tmp/scratch/RtmpQ0e5Db’ ‘~/tmp/scratch/RtmpQ61ndq’ ‘~/tmp/scratch/RtmpQMLJZF’ ‘~/tmp/scratch/RtmpQyAwa9’ ‘~/tmp/scratch/RtmpRYI85q’ ‘~/tmp/scratch/RtmpRiDKFO’ ‘~/tmp/scratch/RtmpS37RIw’ ‘~/tmp/scratch/RtmpS3aZcm’ ‘~/tmp/scratch/RtmpTKkIw8’ ‘~/tmp/scratch/RtmpTKzowR’ ‘~/tmp/scratch/RtmpTeNujt’ ‘~/tmp/scratch/RtmpU8a022’ ‘~/tmp/scratch/RtmpUExmeI’ ‘~/tmp/scratch/RtmpUPlBjE’ ‘~/tmp/scratch/RtmpVcR5DZ’ ‘~/tmp/scratch/RtmpWwC1Lz’ ‘~/tmp/scratch/RtmpXAoXai’ ‘~/tmp/scratch/RtmpXDoUNP’ ‘~/tmp/scratch/RtmpXMXFJF’ ‘~/tmp/scratch/RtmpXdMWGz’ ‘~/tmp/scratch/RtmpXfUhlb’ ‘~/tmp/scratch/RtmpYO9JiN’ ‘~/tmp/scratch/RtmpYn4teK’ ‘~/tmp/scratch/RtmpYy1fUR’ ‘~/tmp/scratch/RtmpZYtuC0’ ‘~/tmp/scratch/RtmpZwcWx8’ ‘~/tmp/scratch/RtmpaHCqrn’ ‘~/tmp/scratch/RtmpaJWlA5’ ‘~/tmp/scratch/RtmpabBRwN’ ‘~/tmp/scratch/Rtmpb0kKGm’ ‘~/tmp/scratch/RtmpbYn9EP’ ‘~/tmp/scratch/RtmpdHzWXJ’ ‘~/tmp/scratch/RtmpeEK7Bj’ ‘~/tmp/scratch/RtmpeFCJPX’ ‘~/tmp/scratch/RtmpehWPEE’ ‘~/tmp/scratch/Rtmpev2V7H’ ‘~/tmp/scratch/RtmpfAKzAL’ ‘~/tmp/scratch/RtmpfMCCz7’ ‘~/tmp/scratch/RtmpfsigUS’ ‘~/tmp/scratch/RtmpgDr3RA’ ‘~/tmp/scratch/RtmpgSk81D’ ‘~/tmp/scratch/Rtmpgh50xs’ ‘~/tmp/scratch/RtmpgsOPuK’ ‘~/tmp/scratch/RtmphT6Blf’ ‘~/tmp/scratch/Rtmphwa2Cu’ ‘~/tmp/scratch/Rtmpi95u12’ ‘~/tmp/scratch/RtmpiY4SEx’ ‘~/tmp/scratch/RtmpiqaJUa’ ‘~/tmp/scratch/Rtmpix5GyY’ ‘~/tmp/scratch/Rtmpj54Jdf’ ‘~/tmp/scratch/RtmpjXiezk’ ‘~/tmp/scratch/RtmpkP2OZT’ ‘~/tmp/scratch/RtmpkUhATH’ ‘~/tmp/scratch/Rtmpl2nPB3’ ‘~/tmp/scratch/Rtmpl39PPM’ ‘~/tmp/scratch/RtmplD99KC’ ‘~/tmp/scratch/RtmpnISdLu’ ‘~/tmp/scratch/RtmpnhFxDb’ ‘~/tmp/scratch/RtmpnqOPDW’ ‘~/tmp/scratch/Rtmpov8FAk’ ‘~/tmp/scratch/RtmppHRR3m’ ‘~/tmp/scratch/Rtmpq8NumS’ ‘~/tmp/scratch/RtmprNVXXU’ ‘~/tmp/scratch/RtmprPYtZw’ ‘~/tmp/scratch/RtmpsUWon8’ ‘~/tmp/scratch/RtmpswLKoY’ ‘~/tmp/scratch/RtmptsO3Mf’ ‘~/tmp/scratch/RtmpvulALX’ ‘~/tmp/scratch/Rtmpwfuqfc’ ‘~/tmp/scratch/RtmpwgkToD’ ‘~/tmp/scratch/Rtmpx2NVLt’ ‘~/tmp/scratch/Rtmpy0Qp0s’ ‘~/tmp/scratch/Rtmpy7pRYj’ ‘~/tmp/scratch/RtmpyTKWfN’ ‘~/tmp/scratch/RtmpzHaDX6’ ‘~/tmp/scratch/RtmpzNEJ5J’ ‘~/tmp/scratch/RtmpzhaGeD’ ‘~/tmp/scratch/cc01EXNm.s’ ‘~/tmp/scratch/ccV7Sspf.s’ ‘~/tmp/scratch/xvfb-run.1AIUaT’ ‘~/tmp/scratch/xvfb-run.2ZGRdl’ ‘~/tmp/scratch/xvfb-run.2cbHOt’ ‘~/tmp/scratch/xvfb-run.7jCmFw’ ‘~/tmp/scratch/xvfb-run.7kPxgh’ ‘~/tmp/scratch/xvfb-run.9Y20oN’ ‘~/tmp/scratch/xvfb-run.CCRiQs’ ‘~/tmp/scratch/xvfb-run.Drbs22’ ‘~/tmp/scratch/xvfb-run.ErqKG4’ ‘~/tmp/scratch/xvfb-run.FG4Cwc’ ‘~/tmp/scratch/xvfb-run.Pq6Xu3’ ‘~/tmp/scratch/xvfb-run.RFpB2L’ ‘~/tmp/scratch/xvfb-run.RMqKd3’ ‘~/tmp/scratch/xvfb-run.S6KffX’ ‘~/tmp/scratch/xvfb-run.S8UCk8’ ‘~/tmp/scratch/xvfb-run.SRLymH’ ‘~/tmp/scratch/xvfb-run.SSu7L2’ ‘~/tmp/scratch/xvfb-run.Ux5WZM’ ‘~/tmp/scratch/xvfb-run.XSID9i’ ‘~/tmp/scratch/xvfb-run.XlTtZW’ ‘~/tmp/scratch/xvfb-run.XzbwZl’ ‘~/tmp/scratch/xvfb-run.a1Nnxd’ ‘~/tmp/scratch/xvfb-run.cZ1aeM’ ‘~/tmp/scratch/xvfb-run.cjcQsw’ ‘~/tmp/scratch/xvfb-run.gOOKXE’ ‘~/tmp/scratch/xvfb-run.iZ2wLj’ ‘~/tmp/scratch/xvfb-run.izdpdy’ ‘~/tmp/scratch/xvfb-run.lHGzh6’ ‘~/tmp/scratch/xvfb-run.lxlaUe’ ‘~/tmp/scratch/xvfb-run.m4RWqj’ ‘~/tmp/scratch/xvfb-run.n76AE3’ ‘~/tmp/scratch/xvfb-run.nGfvGp’ ‘~/tmp/scratch/xvfb-run.opd0ql’ ‘~/tmp/scratch/xvfb-run.ovJAci’ ‘~/tmp/scratch/xvfb-run.pDNJmL’ ‘~/tmp/scratch/xvfb-run.puebpV’ ‘~/tmp/scratch/xvfb-run.sNZAR7’ ‘~/tmp/scratch/xvfb-run.tzf5JS’ ‘~/tmp/scratch/xvfb-run.w8J1if’ ‘~/tmp/scratch/xvfb-run.wjMLPA’ ‘~/tmp/scratch/xvfb-run.zQ8WYR’ ‘~/tmp/scratch/xvfb-run.zVI0Tp’ Flavor: r-devel-linux-x86_64-debian-gcc

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' [4s] 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