Running ‘testthat.R’ [10s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(auk)
  This version of auk uses the Aug 2017 eBird taxonomy
  Working with an EBD file downloaded after Aug 2018 may yield unexpected results
  To get a current taxonomy, update auk with install.packages('auk')
  > 
  > test_check("auk")
  ── 1. Error: auk_ebd prints method (@test_auk-ebd.r#66)  ───────────────────────
  'countrycode_data' is not an exported object from 'namespace:countrycode'
  1: ebd %>% auk_species(species = c("Gray Jay", "Blue Jay")) %>% auk_country(country = c("US", 
         "Canada")) %>% auk_extent(extent = c(-100, 37, -80, 52)) %>% auk_date(date = c("2012-01-01", 
         "2012-12-31")) %>% auk_last_edited(date = c("2010-01-01", "2017-12-31")) %>% 
         auk_time(start_time = c("06:00", "09:00")) %>% auk_duration(duration = c(0, 60)) %>% 
         auk_complete() at testthat/test_auk-ebd.r:66
  2: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  3: eval(quote(`_fseq`(`_lhs`)), env, env)
  4: eval(quote(`_fseq`(`_lhs`)), env, env)
  5: `_fseq`(`_lhs`)
  6: freduce(value, `_function_list`)
  7: function_list[[i]](value)
  8: auk_country(., country = c("US", "Canada"))
  9: auk_country.auk_ebd(., country = c("US", "Canada"))
  10: tolower(countrycode::countrycode_data$iso2c)
  11: countrycode::countrycode_data
  12: getExportedValue(pkg, name)
  13: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)), 
         call. = FALSE, domain = NA)
  
  ── 2. Error: auk_country (@test_filters.r#36)  ─────────────────────────────────
  'countrycode_data' is not an exported object from 'namespace:countrycode'
  1: system.file("extdata/ebd-sample.txt", package = "auk") %>% auk_ebd() %>% auk_country(country) at testthat/test_filters.r:36
  2: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  3: eval(quote(`_fseq`(`_lhs`)), env, env)
  4: eval(quote(`_fseq`(`_lhs`)), env, env)
  5: `_fseq`(`_lhs`)
  6: freduce(value, `_function_list`)
  7: withVisible(function_list[[k]](value))
  8: function_list[[k]](value)
  9: auk_country(., country)
  10: auk_country.auk_ebd(., country)
  11: tolower(countrycode::countrycode_data$iso2c)
  12: countrycode::countrycode_data
  13: getExportedValue(pkg, name)
  14: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)), 
         call. = FALSE, domain = NA)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 199 SKIPPED: 12 FAILED: 2
  1. Error: auk_ebd prints method (@test_auk-ebd.r#66) 
  2. Error: auk_country (@test_filters.r#36) 
  
  Error: testthat unit tests failed
  Execution halted