Running 'testthat.R' [8s/10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > .libPaths()
  [1] "/tmp/RtmprtMhNV/RLIBS_329d45b7b9cc"                       
  [2] "/home/hornik/tmp/R.check/r-devel-clang/Work/build/library"
  > library("testthat")
  > library("ggstance")
  > 
  > test_check("ggstance")
  -- 1. Error: can supply `height` for compatibility with ggplot2 version of error
  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_linerangeh() flips (@test-geoms.R#7)  ------------------------
  there is no package called 'vdiffr'
  Backtrace:
   1. ggstance:::check_horizontal(v, h, "geom_linerangeh()")
   2. vdiffr::expect_doppelganger /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ggstance.Rcheck/tests/helper-utils.R:21:2
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  -- 3. Error: geom_pointangeh() flips (@test-geoms.R#13)  -----------------------
  there is no package called 'vdiffr'
  Backtrace:
   1. ggstance:::check_horizontal(v, h, "geom_pointrangeh()")
   2. vdiffr::expect_doppelganger /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ggstance.Rcheck/tests/helper-utils.R:21:2
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  -- 4. Error: geom_crossbarh() flips (@test-geoms.R#31)  ------------------------
  there is no package called 'vdiffr'
  Backtrace:
   1. ggstance:::check_horizontal(v, h, "geom_crossbarh()")
   2. vdiffr::expect_doppelganger /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ggstance.Rcheck/tests/helper-utils.R:21:2
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  -- 5. Error: geom_errorbarh() flips (@test-geoms.R#37)  ------------------------
  there is no package called 'vdiffr'
  Backtrace:
   1. ggstance:::check_horizontal(v, h, "geom_errorbarh()")
   2. vdiffr::expect_doppelganger /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ggstance.Rcheck/tests/helper-utils.R:21:2
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  -- 6. Error: geom_barh() flips (@test-geoms.R#45)  -----------------------------
  there is no package called 'vdiffr'
  Backtrace:
   1. ggstance:::check_horizontal(v, h, "geom_barh()")
   2. vdiffr::expect_doppelganger /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ggstance.Rcheck/tests/helper-utils.R:21:2
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  -- 7. Error: geom_colh() flips (@test-geoms.R#62)  -----------------------------
  there is no package called 'vdiffr'
  Backtrace:
   1. ggstance:::check_horizontal(v, h, "geom_colh()")
   2. vdiffr::expect_doppelganger /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ggstance.Rcheck/tests/helper-utils.R:21:2
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  -- 8. Error: geom_histogramh() flips (@test-geoms.R#68)  -----------------------
  there is no package called 'vdiffr'
  Backtrace:
   1. ggstance:::check_horizontal(v, h, "geom_histogramh()", TRUE)
   2. vdiffr::expect_doppelganger /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ggstance.Rcheck/tests/helper-utils.R:21:2
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  -- 9. Error: geom_violinh() flips (@test-geoms.R#82)  --------------------------
  there is no package called 'vdiffr'
  Backtrace:
   1. ggstance:::check_horizontal(v, h, "geom_violinh()")
   2. vdiffr::expect_doppelganger /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ggstance.Rcheck/tests/helper-utils.R:21:2
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  -- 10. Error: geom_boxploth() flips (@test-geoms.R#100)  -----------------------
  there is no package called 'vdiffr'
  Backtrace:
   1. ggstance:::check_horizontal(v, h, "geom_boxploth()")
   2. vdiffr::expect_doppelganger /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ggstance.Rcheck/tests/helper-utils.R:21:2
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  -- 11. Error: facet_grid() with free scales flips (@test-geoms.R#119)  ---------
  there is no package called 'vdiffr'
  Backtrace:
   1. ggstance:::check_horizontal(v, h, "facet_grid() with free scales")
   2. vdiffr::expect_doppelganger /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ggstance.Rcheck/tests/helper-utils.R:21:2
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  -- 12. Error: scale information is preserved (@test-geoms.R#133)  --------------
  there is no package called 'vdiffr'
  Backtrace:
   1. ggstance:::check_horizontal(v, h, "scales")
   2. vdiffr::expect_doppelganger /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ggstance.Rcheck/tests/helper-utils.R:21:2
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  -- 13. Error: position_dodge() flips (@test-positions.R#10)  -------------------
  there is no package called 'vdiffr'
  Backtrace:
   1. ggstance:::check_horizontal(v, h, "position-dodge")
   2. vdiffr::expect_doppelganger /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ggstance.Rcheck/tests/helper-utils.R:21:2
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  -- 14. Error: position_jitterdodge() flips (@test-positions.R#20)  -------------
  there is no package called 'vdiffr'
  Backtrace:
   1. ggstance:::check_horizontal(v, h, "position-jitterdodge", TRUE)
   2. vdiffr::expect_doppelganger /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ggstance.Rcheck/tests/helper-utils.R:21:2
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  -- 15. Error: position_stackv() supports `hjust` argument (@test-positions.R#37)
  there is no package called 'vdiffr'
  Backtrace:
   1. ggstance:::check_horizontal(v, h, "position-stackv() with `hjust` argument")
   2. vdiffr::expect_doppelganger /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ggstance.Rcheck/tests/helper-utils.R:21:2
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  -- 16. Error: position_dodge2v() reverses the order within each bar group (@test
  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)
  
  -- 17. Error: stat_summaryh() flips (@test-stats.R#21)  ------------------------
  there is no package called 'vdiffr'
  Backtrace:
   1. ggstance:::check_horizontal(v, h, "stat_summaryh() with fun.data()")
   2. vdiffr::expect_doppelganger /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ggstance.Rcheck/tests/helper-utils.R:21:2
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  -- 18. Error: stat_summaryh() flips, with median_hilow_h summary (@test-stats.R#
  there is no package called 'vdiffr'
  Backtrace:
   1. ggstance:::check_horizontal(v, h, "stat_summaryh() with median_hilow_h()")
   2. vdiffr::expect_doppelganger /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ggstance.Rcheck/tests/helper-utils.R:21:2
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  == testthat results  ===========================================================
  [ OK: 2 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 18 ]
  1. Error: can supply `height` for compatibility with ggplot2 version of errorbarh (#27, #29) (@test-geom-errorbarh.R#7) 
  2. Error: geom_linerangeh() flips (@test-geoms.R#7) 
  3. Error: geom_pointangeh() flips (@test-geoms.R#13) 
  4. Error: geom_crossbarh() flips (@test-geoms.R#31) 
  5. Error: geom_errorbarh() flips (@test-geoms.R#37) 
  6. Error: geom_barh() flips (@test-geoms.R#45) 
  7. Error: geom_colh() flips (@test-geoms.R#62) 
  8. Error: geom_histogramh() flips (@test-geoms.R#68) 
  9. Error: geom_violinh() flips (@test-geoms.R#82) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted