Running 'testthat.R' [5s/6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(tibbletime)
  
  Attaching package: 'tibbletime'
  
  The following object is masked from 'package:stats':
  
      filter
  
  > 
  > test_check("tibbletime")
  -- 1. Error: nest() with index creates tbl_df (@test_compat-tidyr.R#22)  -------
  there is no package called 'tidyr'
  Backtrace:
    9. tidyr::nest(., data = everything())
   10. base::getExportedValue(pkg, name)
   11. base::asNamespace(ns)
   12. base::getNamespace(ns)
   13. base::loadNamespace(name)
   14. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   15. base:::withOneRestart(expr, restarts[[1L]])
   16. base:::doWithOneRestart(return(expr), restart)
  
  -- 2. Error: nest() without index stays tbl_time (@test_compat-tidyr.R#31)  ----
  there is no package called 'tidyr'
  Backtrace:
    9. tidyr::nest(., data = -date)
   10. base::getExportedValue(pkg, name)
   11. base::asNamespace(ns)
   12. base::getNamespace(ns)
   13. base::loadNamespace(name)
   14. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   15. base:::withOneRestart(expr, restarts[[1L]])
   16. base:::doWithOneRestart(return(expr), restart)
  
  -- 3. Error: nest() with .key is deprecated but works (@test_compat-tidyr.R#37) 
  there is no package called 'tidyr'
  Backtrace:
    1. testthat::expect_warning(...)
   10. tidyr::nest(., -date, .key = "stuff")
   15. base::getExportedValue(pkg, name)
   16. base::asNamespace(ns)
   17. base::getNamespace(ns)
   18. base::loadNamespace(name)
   19. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   20. base:::withOneRestart(expr, restarts[[1L]])
   21. base:::doWithOneRestart(return(expr), restart)
  
  -- 4. Error: unnest() with index goes back to tbl_time (@test_compat-tidyr.R#47)
  there is no package called 'tidyr'
  Backtrace:
    8. tidyr::nest(., data = everything())
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   14. base:::withOneRestart(expr, restarts[[1L]])
   15. base:::doWithOneRestart(return(expr), restart)
  
  -- 5. Error: unnest() without index stays tbl_time (@test_compat-tidyr.R#57)  --
  there is no package called 'tidyr'
  Backtrace:
    8. tidyr::nest(., data = c(-symbol, -date))
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   14. base:::withOneRestart(expr, restarts[[1L]])
   15. base:::doWithOneRestart(return(expr), restart)
  
  -- 6. Error: unnest() with `...` is deprecated but works (@test_compat-tidyr.R#6
  there is no package called 'tidyr'
  Backtrace:
    9. tidyr::nest(., data1 = open, data2 = high)
   10. base::getExportedValue(pkg, name)
   11. base::asNamespace(ns)
   12. base::getNamespace(ns)
   13. base::loadNamespace(name)
   14. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   15. base:::withOneRestart(expr, restarts[[1L]])
   16. base:::doWithOneRestart(return(expr), restart)
  
  -- 7. Error: can still do a normal unnest() (@test_compat-tidyr.R#74)  ---------
  there is no package called 'tidyr'
  Backtrace:
    8. tidyr::nest(., data = c(mpg, cyl))
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   14. base:::withOneRestart(expr, restarts[[1L]])
   15. base:::doWithOneRestart(return(expr), restart)
  
  == testthat results  ===========================================================
  [ OK: 131 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
  1. Error: nest() with index creates tbl_df (@test_compat-tidyr.R#22) 
  2. Error: nest() without index stays tbl_time (@test_compat-tidyr.R#31) 
  3. Error: nest() with .key is deprecated but works (@test_compat-tidyr.R#37) 
  4. Error: unnest() with index goes back to tbl_time (@test_compat-tidyr.R#47) 
  5. Error: unnest() without index stays tbl_time (@test_compat-tidyr.R#57) 
  6. Error: unnest() with `...` is deprecated but works (@test_compat-tidyr.R#64) 
  7. Error: can still do a normal unnest() (@test_compat-tidyr.R#74) 
  
  Error: testthat unit tests failed
  Execution halted