Running 'testthat.R' [3s/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)  
  'where' must be an environment
  Backtrace:
    1. testthat::expect_is(...)
    4. dbplot::dbplot_raster(mtcars, wt, mpg, complete = TRUE)
    5. dbplot::db_compute_raster(...)
    7. tidyr:::complete.data.frame(data = df, !!x, !!y, fill = list(`n()` = 0))
    8. tidyr::replace_na(full, replace = fill)
    9. ellipsis::check_dots_used()
   11. ellipsis:::exit_handler(action)
   12. base::bquote(...)
  
  -- 2. Error: The correct number of rows are returned when using complte (@test-r
  'where' must be an environment
  Backtrace:
    1. testthat::expect_equal(...)
    5. dbplot::db_compute_raster(mtcars, wt, mpg, complete = TRUE)
    7. tidyr:::complete.data.frame(data = df, !!x, !!y, fill = list(`n()` = 0))
    8. tidyr::replace_na(full, replace = fill)
    9. ellipsis::check_dots_used()
   11. ellipsis:::exit_handler(action)
   12. base::bquote(...)
  
  -- 3. Error: Compute raster 2 returns the rignt number of rows (@test-raster.R#2
  'where' must be an environment
  Backtrace:
    1. testthat::expect_equal(...)
    5. dbplot::db_compute_raster2(mtcars, wt, mpg, complete = TRUE)
    6. dbplot::db_compute_raster(...)
    8. tidyr:::complete.data.frame(data = df, !!x, !!y, fill = list(`n()` = 0))
    9. tidyr::replace_na(full, replace = fill)
   10. ellipsis::check_dots_used()
   12. ellipsis:::exit_handler(action)
   13. base::bquote(...)
  
  == testthat results  ===========================================================
  [ OK: 24 | SKIPPED: 0 | WARNINGS: 0 | 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