Packages suggested but not available for checking:
  'dplyr', 'ggplot2', 'testthat', 'tidyr'
Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  Error in library(testthat) : there is no package called 'testthat'
  Execution halted
Running 'testthat.R' [19m]
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 502 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:
      x
   1. \-ALA4R::occurrences(...) test-occurrences_plot.R:6:4
   2.   \-ALA4R:::cached_get(...)
   3.     \-ALA4R:::download_to_file(...)
   4.       \-ALA4R:::check_status_code(...)
  
  [ FAIL 1 | WARN 0 | SKIP 225 | PASS 59 ]
  Error: Test failures
  Execution halted