Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(GlmSimulatoR)
  > 
  > test_check("GlmSimulatoR")
  -- 1. Error: (unknown) (@test_simulate_binomial.R#8)  --------------------------
  there is no package called 'stringi'
  Backtrace:
    1. GlmSimulatoR::simulate_binomial()
    2. stringr::str_c
    3. base::getExportedValue(pkg, name)
    4. base::asNamespace(ns)
    5. base::getNamespace(ns)
    6. base::loadNamespace(name)
    8. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
    9. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   10. base:::withOneRestart(expr, restarts[[1L]])
   11. base:::doWithOneRestart(return(expr), restart)
  
  -- 2. Error: (unknown) (@test_simulate_gamma.R#8)  -----------------------------
  there is no package called 'stringi'
  Backtrace:
    1. GlmSimulatoR::simulate_gamma()
    2. stringr::str_c
    3. base::getExportedValue(pkg, name)
    4. base::asNamespace(ns)
    5. base::getNamespace(ns)
    6. base::loadNamespace(name)
    8. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
    9. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   10. base:::withOneRestart(expr, restarts[[1L]])
   11. base:::doWithOneRestart(return(expr), restart)
  
  -- 3. Error: (unknown) (@test_simulate_inverse_gaussian.R#8)  ------------------
  there is no package called 'stringi'
  Backtrace:
    1. GlmSimulatoR::simulate_inverse_gaussian()
    2. stringr::str_c
    3. base::getExportedValue(pkg, name)
    4. base::asNamespace(ns)
    5. base::getNamespace(ns)
    6. base::loadNamespace(name)
    8. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
    9. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   10. base:::withOneRestart(expr, restarts[[1L]])
   11. base:::doWithOneRestart(return(expr), restart)
  
  -- 4. Error: (unknown) (@test_simulate_negative_binomial.R#8)  -----------------
  there is no package called 'stringi'
  Backtrace:
    1. GlmSimulatoR::simulate_negative_binomial()
    2. stringr::str_c
    3. base::getExportedValue(pkg, name)
    4. base::asNamespace(ns)
    5. base::getNamespace(ns)
    6. base::loadNamespace(name)
    8. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
    9. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   10. base:::withOneRestart(expr, restarts[[1L]])
   11. base:::doWithOneRestart(return(expr), restart)
  
  -- 5. Error: (unknown) (@test_simulate_poisson.R#8)  ---------------------------
  there is no package called 'stringi'
  Backtrace:
    1. GlmSimulatoR::simulate_poisson()
    2. stringr::str_c
    3. base::getExportedValue(pkg, name)
    4. base::asNamespace(ns)
    5. base::getNamespace(ns)
    6. base::loadNamespace(name)
    8. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
    9. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   10. base:::withOneRestart(expr, restarts[[1L]])
   11. base:::doWithOneRestart(return(expr), restart)
  
  -- 6. Error: (unknown) (@test_simulate_tweedie.R#8)  ---------------------------
  there is no package called 'stringi'
  Backtrace:
    1. GlmSimulatoR::simulate_tweedie()
    2. stringr::str_c
    3. base::getExportedValue(pkg, name)
    4. base::asNamespace(ns)
    5. base::getNamespace(ns)
    6. base::loadNamespace(name)
    8. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
    9. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   10. base:::withOneRestart(expr, restarts[[1L]])
   11. base:::doWithOneRestart(return(expr), restart)
  
  -- 7. Error: (unknown) (@test_simullate_gaussian.R#8)  -------------------------
  there is no package called 'stringi'
  Backtrace:
    1. GlmSimulatoR::simulate_gaussian()
    2. stringr::str_c
    3. base::getExportedValue(pkg, name)
    4. base::asNamespace(ns)
    5. base::getNamespace(ns)
    6. base::loadNamespace(name)
    8. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
    9. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   10. base:::withOneRestart(expr, restarts[[1L]])
   11. base:::doWithOneRestart(return(expr), restart)
  
  == testthat results  ===========================================================
  [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
  1. Error: (unknown) (@test_simulate_binomial.R#8) 
  2. Error: (unknown) (@test_simulate_gamma.R#8) 
  3. Error: (unknown) (@test_simulate_inverse_gaussian.R#8) 
  4. Error: (unknown) (@test_simulate_negative_binomial.R#8) 
  5. Error: (unknown) (@test_simulate_poisson.R#8) 
  6. Error: (unknown) (@test_simulate_tweedie.R#8) 
  7. Error: (unknown) (@test_simullate_gaussian.R#8) 
  
  Error: testthat unit tests failed
  Execution halted