Running 'testthat.R' [4s/5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(dbplot)
  > library(dplyr)
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > library(ggplot2)
  > 
  > test_check("dbplot")
  -- 1. Error: Setting the complete argument returns a ggplot (@test-raster.R#4)  
  there is no package called 'tidyr'
  Backtrace:
    1. testthat::expect_is(...)
    4. dbplot::dbplot_raster(mtcars, wt, mpg, complete = TRUE)
    5. dbplot::db_compute_raster(...)
    6. tidyr::complete
    7. base::getExportedValue(pkg, name)
    8. base::asNamespace(ns)
    9. base::getNamespace(ns)
   10. base::loadNamespace(name)
   11. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   12. base:::withOneRestart(expr, restarts[[1L]])
   13. base:::doWithOneRestart(return(expr), restart)
  
  -- 2. Error: The correct number of rows are returned when using complte (@test-r
  there is no package called 'tidyr'
  Backtrace:
    1. testthat::expect_equal(...)
    5. dbplot::db_compute_raster(mtcars, wt, mpg, complete = TRUE)
    6. tidyr::complete
    7. base::getExportedValue(pkg, name)
    8. base::asNamespace(ns)
    9. base::getNamespace(ns)
   10. base::loadNamespace(name)
   11. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   12. base:::withOneRestart(expr, restarts[[1L]])
   13. base:::doWithOneRestart(return(expr), restart)
  
  -- 3. Error: Compute raster 2 returns the rignt number of rows (@test-raster.R#2
  there is no package called 'tidyr'
  Backtrace:
    1. testthat::expect_equal(...)
    5. dbplot::db_compute_raster2(mtcars, wt, mpg, complete = TRUE)
    6. dbplot::db_compute_raster(...)
    7. tidyr::complete
    8. base::getExportedValue(pkg, name)
    9. base::asNamespace(ns)
   10. base::getNamespace(ns)
   11. base::loadNamespace(name)
   12. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   13. base:::withOneRestart(expr, restarts[[1L]])
   14. base:::doWithOneRestart(return(expr), restart)
  
  == testthat results  ===========================================================
  [ OK: 24 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 3 ]
  1. Error: Setting the complete argument returns a ggplot (@test-raster.R#4) 
  2. Error: The correct number of rows are returned when using complte (@test-raster.R#9) 
  3. Error: Compute raster 2 returns the rignt number of rows (@test-raster.R#24) 
  
  Error: testthat unit tests failed
  Execution halted