Running ‘testthat.R’ [170s/473s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(galah)
  > 
  > galah_config(cache_directory = tempdir(), email = "ala4r@ala.org.au",
  +            caching = FALSE, atlas = "Australia", verbose = FALSE,
  +            run_checks = TRUE)
  > test_check("galah")
  [ FAIL 4 | WARN 1 | SKIP 31 | PASS 224 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (30)
  • Slow test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-deprecated_functions.R:65:3): ala_counts is deprecated ──────────
  `{ ... }` threw an unexpected error.
  Message: Result of comparison must be a single logical value
  Class:   rlang_error/error/condition
  Backtrace:
      ▆
   1. └─testthat::expect_gt(deprecated$count, 0)
   2.   └─testthat:::expect_compare(">", act, exp)
   3.     └─rlang::abort("Result of comparison must be a single logical value")
  ── Error (test-deprecated_functions.R:74:3): ala_species is deprecated ─────────
  `{ ... }` threw an unexpected error.
  Message: nrow(species) is not strictly more than 1. Difference: -1
  Class:   expectation_failure/expectation/error/condition
  ── Error (test-galah_select.R:14:3): galah_select returns requested columns ────
  Error in `parse_url(status$statusUrl)`: length(url) == 1 is not TRUE
  Backtrace:
      ▆
   1. └─galah::atlas_occurrences(...) at test-galah_select.R:14:2
   2.   ├─base::do.call(atlas_occurrences_internal, custom_call)
   3.   └─galah `<fn>`(...)
   4.     └─galah:::wait_for_download(url, query)
   5.       └─httr::parse_url(status$statusUrl)
   6.         └─base::stopifnot(length(url) == 1)
  ── Error (test-galah_select.R:73:3): galah_select combines requested columns and group columns ──
  Error in `parse_url(status$statusUrl)`: length(url) == 1 is not TRUE
  Backtrace:
      ▆
   1. └─galah::atlas_occurrences(identify = identify, select = columns) at test-galah_select.R:73:2
   2.   ├─base::do.call(atlas_occurrences_internal, custom_call)
   3.   └─galah `<fn>`(...)
   4.     └─galah:::wait_for_download(url, query)
   5.       └─httr::parse_url(status$statusUrl)
   6.         └─base::stopifnot(length(url) == 1)
  
  [ FAIL 4 | WARN 1 | SKIP 31 | PASS 224 ]
  Error: Test failures
  Execution halted