Running 'testthat.R' [4s/4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ggalluvial)
  Loading required package: ggplot2
  > 
  > test_check("ggalluvial")
  -- 1. Error: `geom_alluvium` draws correctly (@test-geom-alluvium.r#12)  -------
  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: `geom_flow` draws correctly (@test-geom-flow.r#10)  ---------------
  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: `geom_flow` orients flows correctly (@test-geom-flow.r#29)  -------
  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: `geom_lode` draws correctly (@test-geom-lode.r#10)  ---------------
  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)
  
  -- 5. Error: `geom_stratum` draws correctly (@test-geom-stratum.r#10)  ---------
  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: 37 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 5 ]
  1. Error: `geom_alluvium` draws correctly (@test-geom-alluvium.r#12) 
  2. Error: `geom_flow` draws correctly (@test-geom-flow.r#10) 
  3. Error: `geom_flow` orients flows correctly (@test-geom-flow.r#29) 
  4. Error: `geom_lode` draws correctly (@test-geom-lode.r#10) 
  5. Error: `geom_stratum` draws correctly (@test-geom-stratum.r#10) 
  
  Error: testthat unit tests failed
  Execution halted