Running 'testthat.R' [20s/27s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(auk)
  auk 0.4.1 is designed for EBD files downloaded after 2019-08-15. 
  No EBD data directory set, see ?auk_set_ebd_path to set EBD_PATH 
  eBird taxonomy version:  2019
  > 
  > test_check("auk")
  -- 1. Error: auk_zerofill zerofill works normally (@test_auk-zerofill.r#6)  ----
  'where' must be an environment
  Backtrace:
    1. auk::auk_zerofill(x = f_ebd, sampling_events = f_smpl)
    2. auk:::auk_zerofill.character(x = f_ebd, sampling_events = f_smpl)
    4. auk:::auk_zerofill.data.frame(...)
    6. tidyr:::complete.data.frame(...)
    7. tidyr::replace_na(full, replace = fill)
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 2. Error: auk_zerofill input types (@test_auk-zerofill.r#28)  ---------------
  'where' must be an environment
  Backtrace:
    1. auk::auk_zerofill(f_ebd, f_smpl)
    2. auk:::auk_zerofill.character(f_ebd, f_smpl)
    4. auk:::auk_zerofill.data.frame(...)
    6. tidyr:::complete.data.frame(...)
    7. tidyr::replace_na(full, replace = fill)
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 3. Error: auk_zerofill subset by species (@test_auk-zerofill.r#39)  ---------
  'where' must be an environment
  Backtrace:
    1. auk::auk_zerofill(x = f_ebd, sampling_events = f_smpl, species = "Collared Kingfisher")
    2. auk:::auk_zerofill.character(...)
    4. auk:::auk_zerofill.data.frame(...)
    6. tidyr:::complete.data.frame(...)
    7. tidyr::replace_na(full, replace = fill)
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 4. Error: auk_zerofill return a data frame (@test_auk-zerofill.r#50)  -------
  'where' must be an environment
  Backtrace:
    1. auk::auk_zerofill(x = f_ebd, sampling_events = f_smpl, collapse = TRUE)
    2. auk:::auk_zerofill.character(...)
    4. auk:::auk_zerofill.data.frame(...)
    6. tidyr:::complete.data.frame(...)
    7. tidyr::replace_na(full, replace = fill)
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 5. Error: collapse_zerofill converts an auk_zerofill object to df (@test_auk-
  'where' must be an environment
  Backtrace:
    1. auk::auk_zerofill(x = f_ebd, sampling_events = f_smpl)
    2. auk:::auk_zerofill.character(x = f_ebd, sampling_events = f_smpl)
    4. auk:::auk_zerofill.data.frame(...)
    6. tidyr:::complete.data.frame(...)
    7. tidyr::replace_na(full, replace = fill)
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 6. Error: auk_zerofill prints method (@test_auk-zerofill.r#69)  -------------
  'where' must be an environment
  Backtrace:
    1. auk::auk_zerofill(x = f_ebd, sampling_events = f_smpl)
    2. auk:::auk_zerofill.character(x = f_ebd, sampling_events = f_smpl)
    4. auk:::auk_zerofill.data.frame(...)
    6. tidyr:::complete.data.frame(...)
    7. tidyr::replace_na(full, replace = fill)
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 7. Error: auk_zerofill error is auk_unique() hasn't been run (@test_auk-zerof
  'where' must be an environment
  Backtrace:
    1. auk::auk_zerofill(x = f_ebd, sampling_events = f_smpl)
    2. auk:::auk_zerofill.character(x = f_ebd, sampling_events = f_smpl)
    4. auk:::auk_zerofill.data.frame(...)
    6. tidyr:::complete.data.frame(...)
    7. tidyr::replace_na(full, replace = fill)
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 8. Error: auk_zerofill lack of complete checklists throws error (@test_auk-ze
  'where' must be an environment
  Backtrace:
    1. testthat::expect_warning(auk_zerofill(ebd, smpl, complete = FALSE))
    7. auk:::auk_zerofill.data.frame(ebd, smpl, complete = FALSE)
    9. tidyr:::complete.data.frame(...)
   10. tidyr::replace_na(full, replace = fill)
   11. ellipsis::check_dots_used()
   13. ellipsis:::exit_handler(action)
   14. base::bquote(...)
  
  -- 9. Error: auk_zerofill throws errors with bad input data (@test_auk-zerofill.
  'where' must be an environment
  Backtrace:
    1. testthat::expect_warning(...)
    7. auk:::auk_zerofill.auk_ebd(...)
    9. auk:::auk_zerofill.character(...)
   11. auk:::auk_zerofill.data.frame(...)
   13. tidyr:::complete.data.frame(...)
   14. tidyr::replace_na(full, replace = fill)
   15. ellipsis::check_dots_used()
   17. ellipsis:::exit_handler(action)
   18. base::bquote(...)
  
  -- 10. Error: filter_repeat_visits works (@test_unmarked.r#7)  -----------------
  'where' must be an environment
  Backtrace:
    1. auk::auk_zerofill(...)
    2. auk:::auk_zerofill.character(...)
    4. auk:::auk_zerofill.data.frame(...)
    6. tidyr:::complete.data.frame(...)
    7. tidyr::replace_na(full, replace = fill)
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  -- 11. Error: format_unmarked works (@test_unmarked.r#38)  ---------------------
  'where' must be an environment
  Backtrace:
    1. auk::auk_zerofill(...)
    2. auk:::auk_zerofill.character(...)
    4. auk:::auk_zerofill.data.frame(...)
    6. tidyr:::complete.data.frame(...)
    7. tidyr::replace_na(full, replace = fill)
    8. ellipsis::check_dots_used()
   10. ellipsis:::exit_handler(action)
   11. base::bquote(...)
  
  == testthat results  ===========================================================
  [ OK: 350 | SKIPPED: 21 | WARNINGS: 0 | FAILED: 11 ]
  1. Error: auk_zerofill zerofill works normally (@test_auk-zerofill.r#6) 
  2. Error: auk_zerofill input types (@test_auk-zerofill.r#28) 
  3. Error: auk_zerofill subset by species (@test_auk-zerofill.r#39) 
  4. Error: auk_zerofill return a data frame (@test_auk-zerofill.r#50) 
  5. Error: collapse_zerofill converts an auk_zerofill object to df (@test_auk-zerofill.r#61) 
  6. Error: auk_zerofill prints method (@test_auk-zerofill.r#69) 
  7. Error: auk_zerofill error is auk_unique() hasn't been run (@test_auk-zerofill.r#78) 
  8. Error: auk_zerofill lack of complete checklists throws error (@test_auk-zerofill.r#94) 
  9. Error: auk_zerofill throws errors with bad input data (@test_auk-zerofill.r#110) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted