R Under development (unstable) (2026-02-09 r89390 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(SpFut.processGBIF) > > test_check("SpFut.processGBIF") Searching for taxonkey for Eurycea bislineata Using taxonkey 5218376 Downloading data for Eurycea bislineata Saving _problems/test-clean_gbif-9.R Searching for taxonkey for Eurycea bislineata Using taxonkey 5218376 Downloading data for Eurycea bislineata Saving _problems/test-download_gbif-11.R Searching for taxonkey for Eurycea bislineata Using taxonkey 5218376 Downloading data for Eurycea bislineata Saving _problems/test-process_gbif-12.R Searching for taxonkey for Eurycea bislineata Using taxonkey 5218376 Downloading data for Eurycea bislineata Saving _problems/test-process_gbif-29.R [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-clean_gbif.R:6:1'): (code run outside of `test_that()`) ──────── Error in `.Internal(getOption(x)) %||% default`: supply a username Backtrace: ▆ 1. └─SpFut.processGBIF::download_gbif(...) at test-clean_gbif.R:6:1 2. └─rgbif::occ_download(...) 3. └─rgbif::occ_download_prep(...) 4. └─rgbif:::check_user(user) 5. └─base::getOption("gbif_user", stop("supply a username")) 6. └─.Internal(getOption(x)) %||% default ── Error ('test-download_gbif.R:8:3'): output should be a list ───────────────── Error in `.Internal(getOption(x)) %||% default`: supply a username Backtrace: ▆ 1. └─SpFut.processGBIF::download_gbif(...) at test-download_gbif.R:8:3 2. └─rgbif::occ_download(...) 3. └─rgbif::occ_download_prep(...) 4. └─rgbif:::check_user(user) 5. └─base::getOption("gbif_user", stop("supply a username")) 6. └─.Internal(getOption(x)) %||% default ── Error ('test-process_gbif.R:7:3'): process_gbif only saves iNat data ──────── Error in `.Internal(getOption(x)) %||% default`: supply a username Backtrace: ▆ 1. └─SpFut.processGBIF::process_gbif(...) at test-process_gbif.R:7:3 2. └─SpFut.processGBIF::download_gbif(...) 3. └─rgbif::occ_download(...) 4. └─rgbif::occ_download_prep(...) 5. └─rgbif:::check_user(user) 6. └─base::getOption("gbif_user", stop("supply a username")) 7. └─.Internal(getOption(x)) %||% default ── Error ('test-process_gbif.R:24:3'): process_gbif only saves Museum data ───── Error in `.Internal(getOption(x)) %||% default`: supply a username Backtrace: ▆ 1. └─SpFut.processGBIF::process_gbif(...) at test-process_gbif.R:24:3 2. └─SpFut.processGBIF::download_gbif(...) 3. └─rgbif::occ_download(...) 4. └─rgbif::occ_download_prep(...) 5. └─rgbif:::check_user(user) 6. └─base::getOption("gbif_user", stop("supply a username")) 7. └─.Internal(getOption(x)) %||% default [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ] Error: ! Test failures. Execution halted