Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ezplot)
  > 
  > test_check("ezplot")
  -- 1. Error: agg_data base cases (@test-agg_data.R#6)  -------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(...)
    4. ezplot::agg_data(mtcars)
    3. base::as.data.frame(.)
   11. dplyr::transmute(...)
   16. dplyr:::mutate.data.frame(.data, !!!dots)
   19. dplyr::tbl_df(.data)
   21. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   22. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   23. tibble:::recycle_columns(x, .rows, lengths)
   24. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   25. tibble:::update_tibble_attrs(x, ...)
  
  -- 2. Error: select renamings (@test-agg_data.R#89)  ---------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(...)
    4. ezplot::agg_data(mtcars, c(x = "gear", "gear"), c(x = "gear"))
    3. base::as.data.frame(.)
   11. dplyr::transmute(...)
   16. dplyr:::mutate.data.frame(.data, !!!dots)
   19. dplyr::tbl_df(.data)
   21. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   22. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   23. tibble:::recycle_columns(x, .rows, lengths)
   24. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   25. tibble:::update_tibble_attrs(x, ...)
  
  -- 3. Error: mixed groups/numeric/categorical (@test-agg_data.R#107)  ----------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::agg_data(...)
    2. base::as.data.frame(.)
   10. dplyr::transmute(...)
   13. dplyr:::mutate.data.frame(.data, !!!dots)
   16. dplyr::tbl_df(.data)
   18. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   19. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   20. tibble:::recycle_columns(x, .rows, lengths)
   21. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   22. tibble:::update_tibble_attrs(x, ...)
  
  -- 4. Error: mixed '~' works (@test-agg_data.R#137)  ---------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::agg_data(...)
    2. base::as.data.frame(.)
   10. dplyr::transmute(...)
   13. dplyr:::mutate.data.frame(.data, !!!dots)
   16. dplyr::tbl_df(.data)
   18. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   19. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   20. tibble:::recycle_columns(x, .rows, lengths)
   21. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   22. tibble:::update_tibble_attrs(x, ...)
  
  -- 5. Error: area_plot works (@test-area_plot.R#4)  ----------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::area_plot(mtcars, "cyl", "1")
    2. ezplot::agg_data(...)
    3. base::as.data.frame(.)
   11. dplyr::transmute(...)
   14. dplyr:::mutate.data.frame(.data, !!!dots)
   17. dplyr::tbl_df(.data)
   19. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   20. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   21. tibble:::recycle_columns(x, .rows, lengths)
   22. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   23. tibble:::update_tibble_attrs(x, ...)
  
  -- 6. Error: bar_plot works (@test-bar_plot.R#6)  ------------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::bar_plot(mtcars, "cyl", "1")
    2. ezplot::agg_data(data, cols, group_by = cols[group_vars])
    3. base::as.data.frame(.)
   11. dplyr::transmute(...)
   14. dplyr:::mutate.data.frame(.data, !!!dots)
   17. dplyr::tbl_df(.data)
   19. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   20. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   21. tibble:::recycle_columns(x, .rows, lengths)
   22. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   23. tibble:::update_tibble_attrs(x, ...)
  
  -- 7. Error: runs (@test-calendar_plot.R#6)  -----------------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::calendar_plot(...)
    2. ezplot::agg_data(data, cols, cols["x"])
    3. base::as.data.frame(.)
   11. dplyr::transmute(...)
   14. dplyr:::mutate.data.frame(.data, !!!dots)
   17. dplyr::tbl_df(.data)
   19. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   20. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   21. tibble:::recycle_columns(x, .rows, lengths)
   22. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   23. tibble:::update_tibble_attrs(x, ...)
  
  -- 8. Error: base function works (@test-distribution_plot.R#5)  ----------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::distribution_plot(mtcars, "mpg")
   10. dplyr::transmute(...)
   13. dplyr:::mutate.data.frame(.data, !!!dots)
   16. dplyr::tbl_df(.data)
   18. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   19. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   20. tibble:::recycle_columns(x, .rows, lengths)
   21. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   22. tibble:::update_tibble_attrs(x, ...)
  
  -- 9. Error: ez_labels works (@test-ez_labels.R#5)  ----------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(ez_labels(1), "1")
    4. ezplot::ez_labels(1)
    8. tibble::tibble(x = x)
    9. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   10. tibble::new_tibble(output, nrow = first_size %||% 0L)
   11. tibble:::update_tibble_attrs(x, ...)
  
  -- 10. Error: ez_png works (@test-ez_png.R#4)  ---------------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::ez_png(ggplot2::ggplot(), "test.png", check = FALSE)
    2. ezplot::save_png(...)
    4. ggplot2:::print.ggplot(g, vp = vp)
    6. ggplot2:::ggplot_build.ggplot(x)
    7. ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
    8. ggplot2:::f(l = layers[[i]], d = data[[i]])
    9. l$compute_aesthetics(d, plot)
   10. ggplot2:::f(..., self = self)
   11. ggplot2:::as_gg_data_frame(evaled)
   14. tibble:::as_tibble.list(x)
   15. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   16. tibble:::recycle_columns(x, .rows, lengths)
   17. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   18. tibble:::update_tibble_attrs(x, ...)
  
  -- 11. Error: line_plot works (@test-line_plot.R#5)  ---------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::line_plot(mtcars, "cyl", "1")
    2. ezplot::agg_data(...)
    3. base::as.data.frame(.)
   11. dplyr::transmute(...)
   14. dplyr:::mutate.data.frame(.data, !!!dots)
   17. dplyr::tbl_df(.data)
   19. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   20. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   21. tibble:::recycle_columns(x, .rows, lengths)
   22. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   23. tibble:::update_tibble_attrs(x, ...)
  
  -- 12. Error: multiple y works (@test-line_plot.R#12)  -------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::line_plot(mtcars, "cyl", c("1", "am"))
    2. ezplot::agg_data(...)
    3. base::as.data.frame(.)
   11. dplyr::transmute(...)
   14. dplyr:::mutate.data.frame(.data, !!!dots)
   17. dplyr::tbl_df(.data)
   19. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   20. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   21. tibble:::recycle_columns(x, .rows, lengths)
   22. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   23. tibble:::update_tibble_attrs(x, ...)
  
  -- 13. Error: special case x-axes work (@test-line_plot.R#24)  -----------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::line_plot(tsibbledata::gafa_stock, "Date", "High", yoy = TRUE)
    2. ezplot::agg_data(...)
    3. base::as.data.frame(.)
   11. dplyr::transmute(...)
   14. dplyr:::mutate.data.frame(.data, !!!dots)
   17. dplyr::tbl_df(.data)
   19. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   20. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   21. tibble:::recycle_columns(x, .rows, lengths)
   22. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   23. tibble:::update_tibble_attrs(x, ...)
  
  -- 14. Error: model_plot works (@test-model_plot.R#14)  ------------------------
  object 'tibble_restore_impl' not found
  Backtrace:
   1. ezplot::model_plot(...)
   3. tibble:::`[[<-.tbl_df`(...)
   4. tibble:::tbl_subassign(...)
   5. tibble:::vectbl_restore(xo, x)
  
  -- 15. Error: base function works (@test-na_plot.R#5)  -------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::na_plot(airquality)
    2. dplyr::ungroup(.)
   10. dplyr::mutate_all(., function(x) ifelse(is.na(x), "NA", "Value"))
   12. dplyr:::mutate.data.frame(.tbl, !!!funs)
   15. dplyr::tbl_df(.data)
   17. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   18. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   19. tibble:::recycle_columns(x, .rows, lengths)
   20. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   21. tibble:::update_tibble_attrs(x, ...)
  
  -- 16. Error: pie_plot works (@test-pie_plot.R#5)  -----------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::pie_plot(mtcars, "cyl", "1")
    2. ezplot::agg_data(...)
    3. base::as.data.frame(.)
   11. dplyr::transmute(...)
   14. dplyr:::mutate.data.frame(.data, !!!dots)
   17. dplyr::tbl_df(.data)
   19. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   20. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   21. tibble:::recycle_columns(x, .rows, lengths)
   22. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   23. tibble:::update_tibble_attrs(x, ...)
  
  -- 17. Error: base functionality works (@test-roc_plot.R#9)  -------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::roc_plot(df, "y", "yhat")
    2. dplyr::ungroup(.)
   10. dplyr::transmute(...)
   13. dplyr:::mutate.data.frame(.data, !!!dots)
   16. dplyr::tbl_df(.data)
   18. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   19. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   20. tibble:::recycle_columns(x, .rows, lengths)
   21. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   22. tibble:::update_tibble_attrs(x, ...)
  
  -- 18. Error: scatter_plot works (@test-scatter_plot.R#6)  ---------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::scatter_plot(mtcars, "cyl", "wt")
    2. base::as.data.frame(.)
   10. dplyr::transmute(...)
   13. dplyr:::mutate.data.frame(.data, !!!dots)
   16. dplyr::tbl_df(.data)
   18. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   19. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   20. tibble:::recycle_columns(x, .rows, lengths)
   21. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   22. tibble:::update_tibble_attrs(x, ...)
  
  -- 19. Error: base function works (@test-secondary_plot.R#4)  ------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::secondary_plot(mtcars, "cyl", "mpg", "hp")
    2. ezplot::agg_data(...)
    3. base::as.data.frame(.)
   11. dplyr::transmute(...)
   14. dplyr:::mutate.data.frame(.data, !!!dots)
   17. dplyr::tbl_df(.data)
   19. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   20. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   21. tibble:::recycle_columns(x, .rows, lengths)
   22. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   23. tibble:::update_tibble_attrs(x, ...)
  
  -- 20. Error: side_plot works (@test-side_plot.R#5)  ---------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::side_plot(mtcars, "cyl", "carb", reorder = FALSE)
    2. ezplot::agg_data(data, cols, group_by = cols["x"])
    3. base::as.data.frame(.)
   11. dplyr::transmute(...)
   14. dplyr:::mutate.data.frame(.data, !!!dots)
   17. dplyr::tbl_df(.data)
   19. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   20. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   21. tibble:::recycle_columns(x, .rows, lengths)
   22. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   23. tibble:::update_tibble_attrs(x, ...)
  
  -- 21. Error: tile_plot works (@test-tile_plot.R#5)  ---------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::tile_plot(mtcars, "cyl", "am", "1")
    2. ezplot::agg_data(...)
    3. base::as.data.frame(.)
   11. dplyr::transmute(...)
   14. dplyr:::mutate.data.frame(.data, !!!dots)
   17. dplyr::tbl_df(.data)
   19. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   20. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   21. tibble:::recycle_columns(x, .rows, lengths)
   22. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   23. tibble:::update_tibble_attrs(x, ...)
  
  -- 22. Error: variable_plot line geom works (@test-variable_plot.R#7)  ---------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::variable_plot(tsibbledata::pelt, "Year", c("Lynx", "Hare"))
    2. ezplot::agg_data(...)
    3. base::as.data.frame(.)
   11. dplyr::transmute(...)
   14. dplyr:::mutate.data.frame(.data, !!!dots)
   17. dplyr::tbl_df(.data)
   19. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   20. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   21. tibble:::recycle_columns(x, .rows, lengths)
   22. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   23. tibble:::update_tibble_attrs(x, ...)
  
  -- 23. Error: variable_plot bar geom works (@test-variable_plot.R#19)  ---------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::variable_plot(...)
    2. ezplot::agg_data(...)
    3. base::as.data.frame(.)
   11. dplyr::transmute(...)
   14. dplyr:::mutate.data.frame(.data, !!!dots)
   17. dplyr::tbl_df(.data)
   19. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   20. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   21. tibble:::recycle_columns(x, .rows, lengths)
   22. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   23. tibble:::update_tibble_attrs(x, ...)
  
  -- 24. Error: waterfall_plot works (@test-waterfall_plot.R#5)  -----------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. ezplot::waterfall_plot(mtcars, "am", "1", "cyl")
    2. base::as.data.frame(.)
    9. dplyr::mutate(., ..y.. = !!rlang::parse_quo(y, env = env))
   13. dplyr::tbl_df(.data)
   15. tibble:::as_tibble.data.frame(data, .name_repair = "check_unique")
   16. tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
   17. tibble:::recycle_columns(x, .rows, lengths)
   18. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   19. tibble:::update_tibble_attrs(x, ...)
  
  == testthat results  ===========================================================
  [ OK: 8 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 24 ]
  1. Error: agg_data base cases (@test-agg_data.R#6) 
  2. Error: select renamings (@test-agg_data.R#89) 
  3. Error: mixed groups/numeric/categorical (@test-agg_data.R#107) 
  4. Error: mixed '~' works (@test-agg_data.R#137) 
  5. Error: area_plot works (@test-area_plot.R#4) 
  6. Error: bar_plot works (@test-bar_plot.R#6) 
  7. Error: runs (@test-calendar_plot.R#6) 
  8. Error: base function works (@test-distribution_plot.R#5) 
  9. Error: ez_labels works (@test-ez_labels.R#5) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted