Running ‘testthat.R’ [4s/101s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ALA4R)
  `ALA4R` is deprecated and will be removed from CRAN at the end of 2021. The package to replace `ALA4R``,
  `galah`, is now available (https://CRAN.R-project.org/package=galah). For an introduction to `galah`,
  visit the GitHub page (https://github.com/AtlasOfLivingAustralia/galah).
  > 
  > ## 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 ═══════════════════════════════════════════════════════════════
  • Broken by infrastructure upgrade (9)
  • On CRAN (189)
  • Slow test (18)
  • Unreliable web service (6)
  • skipping really slow field_info test (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-occurrences_plot.R:6:5): occurrences plot creates a plot  ───────
  Error: HTTP status code 403 received.
    Either there was an error with your
                                         request or in the ALA4R package, or the servers are down. 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 403 received.
    Either there was an error with your
                                         request or in the ALA4R package, or the servers are down. 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 403 received.
    Either there was an error with your
                                         request or in the ALA4R package, or the servers are down. 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 3 | WARN 0 | SKIP 225 | PASS 55 ]
  Error: Test failures
  Execution halted