Running ‘testthat.R’ [4s/17s]
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:8:5): occurrences plot creates a plot  ───────
  Error: undefined columns selected
  Backtrace:
      █
   1. └─ALA4R::occurrences_plot(occ) test-occurrences_plot.R:8:4
   2.   └─base::tryCatch(...)
   3.     └─base:::tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  ── Error (test-occurrences_plot.R:8:5): occurrences plot creates a plot  ───────
  Error: undefined columns selected
  Backtrace:
      █
   1. └─ALA4R::occurrences_plot(occ) test-occurrences_plot.R:8:4
   2.   └─base::tryCatch(...)
   3.     └─base:::tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  ── Error (test-occurrences_plot.R:8:5): occurrences plot creates a plot  ───────
  Error: undefined columns selected
  Backtrace:
      █
   1. └─ALA4R::occurrences_plot(occ) test-occurrences_plot.R:8:4
   2.   └─base::tryCatch(...)
   3.     └─base:::tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  
  [ FAIL 3 | WARN 0 | SKIP 225 | PASS 55 ]
  Error: Test failures
  Execution halted