Running ‘testthat.R’ [6s/40s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ALA4R)
  > 
  > ## run each test with and without caching
  > check_caching <- function(f) {
  +     ala_config(caching = "off")
  +     f()
  +     ala_config(caching = "on")
  +     f()
  +     f()
  + }
  > 
  > test_check("ALA4R")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (216)
  • skipping really slow field_info test (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-occurrences.R:33:9): occurrences summary gives something sensible ──
  Error: HTTP status code 500 received.
    Either there was an error with the
                                         request, or the servers may be down
                                         (try again later). If this problem persists please notify the ALA4R
              maintainers by lodging an issue at
              https://github.com/AtlasOfLivingAustralia/ALA4R/issues/
              or emailing support@ala.org.au
  Backtrace:
      █
   1. └─ALA4R::occurrences(...) test-occurrences.R:33:8
   2.   └─ALA4R:::cached_get(...)
   3.     └─ALA4R:::download_to_file(...)
   4.       └─ALA4R:::check_status_code(...)
  ── Error (test-occurrences.R:33:9): occurrences summary gives something sensible ──
  Error: HTTP status code 500 received.
    Either there was an error with the
                                         request, or the servers may be down
                                         (try again later). If this problem persists please notify the ALA4R
              maintainers by lodging an issue at
              https://github.com/AtlasOfLivingAustralia/ALA4R/issues/
              or emailing support@ala.org.au
  Backtrace:
      █
   1. └─ALA4R::occurrences(...) test-occurrences.R:33:8
   2.   └─ALA4R:::cached_get(...)
   3.     └─ALA4R:::download_to_file(...)
   4.       └─ALA4R:::check_status_code(...)
  ── Error (test-occurrences.R:33:9): occurrences summary gives something sensible ──
  Error: HTTP status code 500 received.
    Either there was an error with the
                                         request, or the servers may be down
                                         (try again later). If this problem persists please notify the ALA4R
              maintainers by lodging an issue at
              https://github.com/AtlasOfLivingAustralia/ALA4R/issues/
              or emailing support@ala.org.au
  Backtrace:
      █
   1. └─ALA4R::occurrences(...) test-occurrences.R:33:8
   2.   └─ALA4R:::cached_get(...)
   3.     └─ALA4R:::download_to_file(...)
   4.       └─ALA4R:::check_status_code(...)
  ── Error (test-occurrences_plot.R:6:5): occurrences plot creates a plot  ───────
  Error: HTTP status code 500 received.
    Either there was an error with the
                                         request, or the servers may be down
                                         (try again later). If this problem persists please notify the ALA4R
              maintainers by lodging an issue at
              https://github.com/AtlasOfLivingAustralia/ALA4R/issues/
              or emailing support@ala.org.au
  Backtrace:
      █
   1. └─ALA4R::occurrences(...) test-occurrences_plot.R:6:4
   2.   └─ALA4R:::cached_get(...)
   3.     └─ALA4R:::download_to_file(...)
   4.       └─ALA4R:::check_status_code(...)
  ── Error (test-occurrences_plot.R:6:5): occurrences plot creates a plot  ───────
  Error: HTTP status code 500 received.
    Either there was an error with the
                                         request, or the servers may be down
                                         (try again later). If this problem persists please notify the ALA4R
              maintainers by lodging an issue at
              https://github.com/AtlasOfLivingAustralia/ALA4R/issues/
              or emailing support@ala.org.au
  Backtrace:
      █
   1. └─ALA4R::occurrences(...) test-occurrences_plot.R:6:4
   2.   └─ALA4R:::cached_get(...)
   3.     └─ALA4R:::download_to_file(...)
   4.       └─ALA4R:::check_status_code(...)
  ── Error (test-occurrences_plot.R:6:5): occurrences plot creates a plot  ───────
  Error: HTTP status code 500 received.
    Either there was an error with the
                                         request, or the servers may be down
                                         (try again later). If this problem persists please notify the ALA4R
              maintainers by lodging an issue at
              https://github.com/AtlasOfLivingAustralia/ALA4R/issues/
              or emailing support@ala.org.au
  Backtrace:
      █
   1. └─ALA4R::occurrences(...) test-occurrences_plot.R:6:4
   2.   └─ALA4R:::cached_get(...)
   3.     └─ALA4R:::download_to_file(...)
   4.       └─ALA4R:::check_status_code(...)
  
  [ FAIL 6 | WARN 0 | SKIP 219 | PASS 58 ]
  Error: Test failures
  Execution halted