Running 'testthat.R' [5s/5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ggridges)
  > 
  > test_check("ggridges")
  -- 1. Error: geom_density_ridges draws correctly (@test_geom_density_ridges.R#9)
  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: visual appearance of gradient geoms (@test_geom_gradient.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: visual appearance of geom_vridgeline (@test_geom_vridgeline.R#9)  -
  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: visual appearance of scale_*_cyclical (@test_scale_cyclical.R#49)  
  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: theme_ridges draws correctly (@test_theme_ridges.R#25)  -----------
  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: 58 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 5 ]
  1. Error: geom_density_ridges draws correctly (@test_geom_density_ridges.R#9) 
  2. Error: visual appearance of gradient geoms (@test_geom_gradient.R#10) 
  3. Error: visual appearance of geom_vridgeline (@test_geom_vridgeline.R#9) 
  4. Error: visual appearance of scale_*_cyclical (@test_scale_cyclical.R#49) 
  5. Error: theme_ridges draws correctly (@test_theme_ridges.R#25) 
  
  Error: testthat unit tests failed
  Execution halted