Running ‘testthat.R’ [276s/408s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ggPMX)
  > 
  > test_check("ggPMX")
  use  predictions1.txt  as  model predictions file .
  use  finegrid1.txt  as  finegrid file .
  [ FAIL 3 | WARN 12 | SKIP 8 | PASS 307 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (6)
  • TRUE is TRUE (1)
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-nlmixr.R:32:3'): nlmixr test ───────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'nlmixr2'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-nlmixr.R:32:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-nonmem_reader.R:8:3'): can read NONMEM-Output ──────────────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─ggPMX::pmx_nm(directory = nonmem_dir, runno = "001") at test-nonmem_reader.R:8:2
   2.   └─ggPMX:::pmx_read_nm_model(file = basename(full_path), dir = dirname(full_path))
   3.     ├─base::`[<-`(`*tmp*`, lst_rows, , value = `<tibble[,4]>`)
   4.     └─tibble:::`[<-.tbl_df`(`*tmp*`, lst_rows, , value = `<tibble[,4]>`)
   5.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   6.         └─tibble:::tbl_subassign_row(xo, i, value, i_arg, value_arg, call)
   7.           ├─base::withCallingHandlers(...)
   8.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test-param_table.R:8:3'): can make param_table() ────────────────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─ggPMX::pmx_nm(...) at test-param_table.R:8:2
   2.   └─ggPMX:::pmx_read_nm_model(file = basename(full_path), dir = dirname(full_path))
   3.     ├─base::`[<-`(`*tmp*`, lst_rows, , value = `<tibble[,4]>`)
   4.     └─tibble:::`[<-.tbl_df`(`*tmp*`, lst_rows, , value = `<tibble[,4]>`)
   5.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   6.         └─tibble:::tbl_subassign_row(xo, i, value, i_arg, value_arg, call)
   7.           ├─base::withCallingHandlers(...)
   8.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  
  [ FAIL 3 | WARN 12 | SKIP 8 | PASS 307 ]
  Error: Test failures
  Execution halted