Running ‘testthat.R’ [15s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(wilson)
  
  Attaching package: 'wilson'
  
  The following object is masked from 'package:stats':
  
      heatmap
  
  > 
  > test_check("wilson")
    adding: plotdfb17b4c48e.pdf (deflated 9%)
    adding: plotdfb522df2e6.png (deflated 29%)
    adding: plot_objectdfb79c3738d.RData (stored 0%)
    adding: plotdfb59e08548.pdf (deflated 7%)
    adding: plotdfb7d3d9687.png (deflated 9%)
    adding: plot_objectdfb263aea7f.RData (deflated 1%)
  ── 1. Error: scatterplot can be created (@test-static-plots.R#7)  ──────────────
  there is no package called 'vdiffr'
  Backtrace:
   1. vdiffr::expect_doppelganger
   2. base::getExportedValue(pkg, name)
   3. base::asNamespace(ns)
   4. base::getNamespace(ns)
   5. base::loadNamespace(name)
   6. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   7. base:::withOneRestart(expr, restarts[[1L]])
   8. base:::doWithOneRestart(return(expr), restart)
  
  ── 2. Error: pca can be created (@test-static-plots.R#15)  ─────────────────────
  there is no package called 'vdiffr'
  Backtrace:
   1. vdiffr::expect_doppelganger
   2. base::getExportedValue(pkg, name)
   3. base::asNamespace(ns)
   4. base::getNamespace(ns)
   5. base::loadNamespace(name)
   6. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   7. base:::withOneRestart(expr, restarts[[1L]])
   8. base:::doWithOneRestart(return(expr), restart)
  
  ── 3. Error: heatmap can be created (@test-static-plots.R#22)  ─────────────────
  there is no package called 'vdiffr'
  Backtrace:
   1. vdiffr::expect_doppelganger
   2. base::getExportedValue(pkg, name)
   3. base::asNamespace(ns)
   4. base::getNamespace(ns)
   5. base::loadNamespace(name)
   6. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   7. base:::withOneRestart(expr, restarts[[1L]])
   8. base:::doWithOneRestart(return(expr), restart)
  
  ── 4. Error: geneview can be created (@test-static-plots.R#30)  ────────────────
  there is no package called 'vdiffr'
  Backtrace:
   1. vdiffr::expect_doppelganger
   2. base::getExportedValue(pkg, name)
   3. base::asNamespace(ns)
   4. base::getNamespace(ns)
   5. base::loadNamespace(name)
   6. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   7. base:::withOneRestart(expr, restarts[[1L]])
   8. base:::doWithOneRestart(return(expr), restart)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 57 | SKIPPED: 1 | WARNINGS: 4 | FAILED: 4 ]
  1. Error: scatterplot can be created (@test-static-plots.R#7) 
  2. Error: pca can be created (@test-static-plots.R#15) 
  3. Error: heatmap can be created (@test-static-plots.R#22) 
  4. Error: geneview can be created (@test-static-plots.R#30) 
  
  Error: testthat unit tests failed
  Execution halted