Running 'testthat.R' [11s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > Sys.setenv("nlmixr_silent"="TRUE")
  > library(testthat)
  > library(nlmixr)
  > 
  > test_check("nlmixr")
  -- 1. Error: (unknown) (@test-model03.R#3)  ------------------------------------
  package or namespace load failed for 'reshape2' in inDL(x, as.logical(local), as.logical(now), ...):
   ICU init failed: U_FILE_ACCESS_ERROR
  1: library(reshape2) at testthat/test-model03.R:3
  2: tryCatch({
         attr(package, "LibPath") <- which.lib.loc
         ns <- loadNamespace(package, lib.loc)
         env <- attachNamespace(ns, pos = pos, deps)
     }, error = function(e) {
         P <- if (!is.null(cc <- conditionCall(e))) 
             paste(" in", deparse(cc)[1L])
         else ""
         msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), 
             P, conditionMessage(e))
         if (logical.return) 
             message(paste("Error:", msg), domain = NA)
         else stop(msg, call. = FALSE, domain = NA)
     })
  3: tryCatchList(expr, classes, parentenv, handlers)
  4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5: value[[3L]](cond)
  6: stop(msg, call. = FALSE, domain = NA)
  
  -- 2. Error: (unknown) (@test-model14.R#3)  ------------------------------------
  package or namespace load failed for 'reshape2' in inDL(x, as.logical(local), as.logical(now), ...):
   ICU init failed: U_FILE_ACCESS_ERROR
  1: library(reshape2) at testthat/test-model14.R:3
  2: tryCatch({
         attr(package, "LibPath") <- which.lib.loc
         ns <- loadNamespace(package, lib.loc)
         env <- attachNamespace(ns, pos = pos, deps)
     }, error = function(e) {
         P <- if (!is.null(cc <- conditionCall(e))) 
             paste(" in", deparse(cc)[1L])
         else ""
         msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), 
             P, conditionMessage(e))
         if (logical.return) 
             message(paste("Error:", msg), domain = NA)
         else stop(msg, call. = FALSE, domain = NA)
     })
  3: tryCatchList(expr, classes, parentenv, handlers)
  4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5: value[[3L]](cond)
  6: stop(msg, call. = FALSE, domain = NA)
  
  -- 3. Error: (unknown) (@test-model25.R#3)  ------------------------------------
  package or namespace load failed for 'reshape2' in inDL(x, as.logical(local), as.logical(now), ...):
   ICU init failed: U_FILE_ACCESS_ERROR
  1: library(reshape2) at testthat/test-model25.R:3
  2: tryCatch({
         attr(package, "LibPath") <- which.lib.loc
         ns <- loadNamespace(package, lib.loc)
         env <- attachNamespace(ns, pos = pos, deps)
     }, error = function(e) {
         P <- if (!is.null(cc <- conditionCall(e))) 
             paste(" in", deparse(cc)[1L])
         else ""
         msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), 
             P, conditionMessage(e))
         if (logical.return) 
             message(paste("Error:", msg), domain = NA)
         else stop(msg, call. = FALSE, domain = NA)
     })
  3: tryCatchList(expr, classes, parentenv, handlers)
  4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5: value[[3L]](cond)
  6: stop(msg, call. = FALSE, domain = NA)
  
  -- 4. Error: (unknown) (@test-model48.R#3)  ------------------------------------
  package or namespace load failed for 'reshape2' in inDL(x, as.logical(local), as.logical(now), ...):
   ICU init failed: U_FILE_ACCESS_ERROR
  1: library(reshape2) at testthat/test-model48.R:3
  2: tryCatch({
         attr(package, "LibPath") <- which.lib.loc
         ns <- loadNamespace(package, lib.loc)
         env <- attachNamespace(ns, pos = pos, deps)
     }, error = function(e) {
         P <- if (!is.null(cc <- conditionCall(e))) 
             paste(" in", deparse(cc)[1L])
         else ""
         msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), 
             P, conditionMessage(e))
         if (logical.return) 
             message(paste("Error:", msg), domain = NA)
         else stop(msg, call. = FALSE, domain = NA)
     })
  3: tryCatchList(expr, classes, parentenv, handlers)
  4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5: value[[3L]](cond)
  6: stop(msg, call. = FALSE, domain = NA)
  
  == testthat results  ===========================================================
  OK: 182 SKIPPED: 0 FAILED: 4
  1. Error: (unknown) (@test-model03.R#3) 
  2. Error: (unknown) (@test-model14.R#3) 
  3. Error: (unknown) (@test-model25.R#3) 
  4. Error: (unknown) (@test-model48.R#3) 
  
  Error: testthat unit tests failed
  Execution halted