Running ‘testthat.R’ [4s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(sjtable2df)
  > 
  > test_check("sjtable2df")
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-mtab2df.R:40:5'): correct functioning of mtab2df: glm ──────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'sjPlot'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mtab2df.R:40:5
   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-mtab2df.R:128:5'): correct functioning of mtab2df: glmer ───────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'sjPlot'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mtab2df.R:128:5
   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-mtab2df.R:222:5'): correct functioning of mtab2df with significance: glm ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'sjPlot'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mtab2df.R:222:5
   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-xtab2df.R:23:5'): correct functioning of 2x2 xtab2df, with stats ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'sjPlot'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-xtab2df.R:23:5
   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-xtab2df.R:193:5'): correct functioning of 2x2 xtab2df, without stats ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'sjPlot'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-xtab2df.R:193:5
   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-xtab2df.R:240:5'): correct functioning of 3x4 xtab2df, with stats ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'sjPlot'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-xtab2df.R:240:5
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted