Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > suppressWarnings(library(testthat))
  > suppressWarnings(library(nlmixr2save))
  > 
  > test_check("nlmixr2save")
  Saving _problems/test-simplify-19.R
  [ FAIL 3 | WARN 0 | SKIP 1 | PASS 17 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-save.R:51:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-save.R:43:7'): saveFitRandom marks registered functions as random ──
  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. ├─withr::with_tempdir(...) at test-save.R:42:5
   2. │ └─withr::with_dir(tmp, code)
   3. │   └─base::force(code)
   4. └─base::loadNamespace(x) at test-save.R:43:7
   5.   └─base::library.dynam(lib, package, package.lib)
   6.     └─base::dyn.load(file, DLLpath = DLLpath, ...)
   7.       └─base (local) inDL(x, as.logical(local), as.logical(now), ...)
  ── Error ('test-save.R:184:7'): test rxUi item saving with rxode2 ──────────────
  Error: package or namespace load failed for 'rxode2' 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::library(rxode2) at test-save.R:184:7
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  ── Error ('test-simplify.R:19:1'): (code run outside of `test_that()`) ─────────
  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::loadNamespace(x) at test-simplify.R:19:1
   2.   └─base::library.dynam(lib, package, package.lib)
   3.     └─base::dyn.load(file, DLLpath = DLLpath, ...)
   4.       └─base (local) inDL(x, as.logical(local), as.logical(now), ...)
  
  [ FAIL 3 | WARN 0 | SKIP 1 | PASS 17 ]
  Error:
  ! Test failures.
  Execution halted