Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [116s/197s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(babelmixr2)
  Loading required package: nlmixr2
  Loading required package: nlmixr2data
  > 
  > test_check("babelmixr2")
  i parameter labels from comments will be replaced by 'label()'
  i writing monolix files
  i done
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  using C compiler: ‘gcc-12 (Debian 12.2.0-14) 12.2.0’
  
  v done
  rxode2 2.0.11 using 3 threads (see ?getRxThreads)
    no cache: create with `rxCreateCache()`
  > Calculating residuals/tables
  v done
  > compress origData in nlmixr2 object, save 27560
  i monolix parameter history integrated into fit object
  i writing monolix files
  i done
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  using C compiler: ‘gcc-12 (Debian 12.2.0-14) 12.2.0’
  
  v done
  > Calculating residuals/tables
  v done
  > compress origData in nlmixr2 object, save 27560
  i monolix parameter history needs expoted charts, please export charts
  i writing monolix files
  i done
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  v done
  > Calculating residuals/tables
  v done
  > compress origData in nlmixr2 object, save 27560
  i monolix parameter history needs expoted charts, please export charts
  i writing monolix files
  i done
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  v done
  > Calculating residuals/tables
  v done
  > compress origData in nlmixr2 object, save 27560
  i monolix parameter history needs expoted charts, please export charts
  i parameter labels from comments will be replaced by 'label()'
  i writing monolix files
  i done
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  using C compiler: ‘gcc-12 (Debian 12.2.0-14) 12.2.0’
  
  v done
  > Calculating residuals/tables
  v done
  > compress origData in nlmixr2 object, save 33192
  i monolix parameter history needs expoted charts, please export charts
  i writing monolix files
  i done
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  using C compiler: ‘gcc-12 (Debian 12.2.0-14) 12.2.0’
  
  v done
  > Calculating residuals/tables
  v done
  > compress origData in nlmixr2 object, save 202472
  i monolix parameter history needs expoted charts, please export charts
  i writing monolix files
  i done
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  using C compiler: ‘gcc-12 (Debian 12.2.0-14) 12.2.0’
  
  v done
  > Calculating residuals/tables
  v done
  > compress origData in nlmixr2 object, save 26856
  i monolix parameter history needs expoted charts, please export charts
  i writing monolix files
  i done
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  using C compiler: ‘gcc-12 (Debian 12.2.0-14) 12.2.0’
  
  v done
  > Calculating residuals/tables
  v done
  > compress origData in nlmixr2 object, save 12992
  i monolix parameter history needs expoted charts, please export charts
  i load saved nlmixr2 object
  i monolix parameter history integrated into fit object
  i load saved nlmixr2 object
  i writing monolix files
  i done
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  v done
  > Calculating residuals/tables
  v done
  > compress origData in nlmixr2 object, save 12992
  i monolix parameter history integrated into fit object
  i change initial estimate of `prop.err` to `15`
  i writing monolix files
  i done
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  v done
  > Calculating residuals/tables
  v done
  > compress origData in nlmixr2 object, save 12992
  i monolix parameter history integrated into fit object
  i change initial estimate of `prop.err` to `7`
  i writing monolix files
  i done
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  v done
  > Calculating residuals/tables
  v done
  > compress origData in nlmixr2 object, save 12992
  i monolix parameter history integrated into fit object
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  using C compiler: ‘gcc-12 (Debian 12.2.0-14) 12.2.0’
  
  v done
  > Calculating residuals/tables
  v done
  > compress origData in nlmixr2 object, save 1336
  > compress parHist in nlmixr2 object, save 1344
  
  
   WARNINGS AND ERRORS (IF ANY) FOR PROBLEM    1
  
   (WARNING  2) NM-TRAN INFERS THAT THE DATA ARE POPULATION.
  
  
  0MINIMIZATION TERMINATED
   DUE TO ROUNDING ERRORS (ERROR=134)
   NO. OF FUNCTION EVALUATIONS USED:     1088
   NO. OF SIG. DIGITS UNREPORTABLE
  0PARAMETER ESTIMATE IS NEAR ITS BOUNDARY
  
  nonmem model: 'pk.turnover.emax3-nonmem/pk.turnover.emax3.nmctl'
  > terminated with rounding errors, can force nlmixr2/rxode2 to read with nonmemControl(readRounding=TRUE)
  Error : nonmem minimization not successful
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  v done
  > Calculating residuals/tables
  v done
  > compress origData in nlmixr2 object, save 27560
  > compress parHist in nlmixr2 object, save 4928
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > calculate jacobian
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > calculate sensitivities
  [====|====|====|====|====|====|====|====|====|====] 0:00:01 
  
  > calculate d(f)/d(eta)
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > finding duplicate expressions in inner model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in inner model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling inner model...
  using C compiler: ‘gcc-12 (Debian 12.2.0-14) 12.2.0’
  
  v done
  > finding duplicate expressions in FD model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in FD model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  using C compiler: ‘gcc-12 (Debian 12.2.0-14) 12.2.0’
  
  v done
  > compiling events FD model...
  using C compiler: ‘gcc-12 (Debian 12.2.0-14) 12.2.0’
  
  v done
  calculating covariance matrix
  [====|====|====|====|====|====|====|====|====|====] 0:00:12 
  > compress origData in nlmixr2 object, save 27560
  Updated original fit object f
  ! remove between subject variability `eta.ktr`
  ! remove between subject variability `eta.ka`
  ! remove between subject variability `eta.emax`
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====
  ====|====] 0:00:00 
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  using C compiler: ‘gcc-12 (Debian 12.2.0-14) 12.2.0’
  
  v done
  > Calculating residuals/tables
  v done
  > compress origData in nlmixr2 object, save 27560
  > compress parHist in nlmixr2 object, save 7776
  i parameter labels from comments will be replaced by 'label()'
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  v done
  > Calculating residuals/tables
  v done
  > compress origData in nlmixr2 object, save 33192
  > compress parHist in nlmixr2 object, save 2256
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  v done
  > Calculating residuals/tables
  v done
  > compress origData in nlmixr2 object, save 12992
  > compress parHist in nlmixr2 object, save 2664
  ! remove between subject variability `eta.SLOPU`
  ! remove between subject variability `eta.MTT`
  > loading into symengine environment...
  > pruning branches (`if`/`else`) of full model...
  v done
  > finding duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > optimizing duplicate expressions in EBE model...
  [====|====|====|====|====|====|====|====|====|====] 0:00:00 
  
  > compiling EBE model...
  using C compiler: ‘gcc-12 (Debian 12.2.0-14) 12.2.0’
  
  v done
  > Calculating residuals/tables
  v done
  > compress origData in nlmixr2 object, save 12992
  > compress parHist in nlmixr2 object, save 2120
  i writing nonmem files
  i done
  Error in purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose,  : 
    i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=24: DLL requires the use of native symbols
  Error in purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose,  : 
    i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=24: DLL requires the use of native symbols
  [ FAIL 2 | WARN 2 | SKIP 0 | PASS 302 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-pknca.R:20:3'): est='pknca' ────────────────────────────────────
  Error: In index: 1.
  Backtrace:
      ▆
   1. ├─base::suppressMessages(...) at test-pknca.R:20:2
   2. │ └─base::withCallingHandlers(...)
   3. ├─testthat::expect_s3_class(...)
   4. │ └─testthat::quasi_label(enquo(object), arg = "object")
   5. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   6. ├─nlmixr2est::nlmixr(...)
   7. └─nlmixr2est:::nlmixr2.function(...)
   8.   └─nlmixr2est:::nlmixr2Est0(.env)
  ── Error ('test-pknca.R:144:3'): dvParam ───────────────────────────────────────
  Error: In index: 1.
  Backtrace:
      ▆
   1. ├─base::suppressMessages(...) at test-pknca.R:144:2
   2. │ └─base::withCallingHandlers(...)
   3. ├─testthat::expect_s3_class(...)
   4. │ └─testthat::quasi_label(enquo(object), arg = "object")
   5. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   6. ├─nlmixr2est::nlmixr(...)
   7. └─nlmixr2est:::nlmixr2.function(...)
   8.   └─nlmixr2est:::nlmixr2Est0(.env)
  
  [ FAIL 2 | WARN 2 | SKIP 0 | PASS 302 ]
  Error: Test failures
  Execution halted