Running ‘test-all.R’ [84s/99s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("rgbif")
  Loading required package: rgbif
  [ FAIL 2 | WARN 5 | SKIP 133 | PASS 1334 ]
  
  ══ Skipped tests (133) ═════════════════════════════════════════════════════════
  • On CRAN (133): 'test-country_codes.r:4:3', 'test-dataset_export.R:3:1',
    'test-dataset_gridded.R:3:1', 'test-datasets.r:4:3', 'test-datasets.r:60:3',
    'test-datasets.r:74:3', 'test-derived_dataset.R:3:3',
    'test-derived_dataset.R:51:3', 'test-derived_dataset.R:186:3',
    'test-derived_dataset.R:347:3', 'test-downloads.R:3:3',
    'test-downloads.R:16:3', 'test-downloads.R:43:3', 'test-downloads.R:80:3',
    'test-downloads.R:87:3', 'test-downloads.R:101:3', 'test-downloads.R:116:3',
    'test-elevation.R:3:3', 'test-elevation.R:16:3', 'test-elevation.R:32:3',
    'test-elevation.R:59:3', 'test-elevation.R:84:3', 'test-enumeration.r:4:3',
    'test-enumeration.r:23:3', 'test-gbif_geocode.R:3:5',
    'test-gbif_geocode.R:60:3', 'test-gbif_issues.R:4:3',
    'test-gbif_issues.R:17:3', 'test-gbif_issues.R:41:3',
    'test-gbif_issues_lookup.R:4:3', 'test-gbif_issues_lookup.R:39:3',
    'test-gbif_names.R:4:3', 'test-gbif_names.R:28:3', 'test-gbif_photos.R:4:3',
    'test-lit_search.R:5:5', 'test-lit_search.R:120:3', 'test-map_fetch.R:3:1',
    'test-mvt_fetch.R:4:3', 'test-mvt_fetch.R:15:3', 'test-name_backbone.r:29:3',
    'test-name_backbone_checklist.R:4:3', 'test-name_backbone_checklist.R:184:3',
    'test-name_backbone_checklist.R:273:3',
    'test-name_backbone_checklist.R:368:3',
    'test-name_backbone_checklist.R:466:3', 'test-name_lookup.r:4:3',
    'test-name_lookup.r:61:3', 'test-name_lookup.r:96:3',
    'test-name_lookup.r:115:3', 'test-name_lookup.r:130:3',
    'test-name_lookup.r:150:3', 'test-name_usage.r:4:3', 'test-occ_data.R:7:3',
    'test-occ_data.R:38:3', 'test-occ_data.R:71:3', 'test-occ_data.R:114:3',
    'test-occ_data.R:188:3', 'test-occ_data.R:340:3', 'test-occ_data.R:354:3',
    'test-occ_data.R:369:3', 'test-occ_data.R:387:3', 'test-occ_data.R:404:3',
    'test-occ_data.R:421:3', 'test-occ_data.R:440:3', 'test-occ_data.R:457:3',
    'test-occ_data.R:474:3', 'test-occ_data.R:491:3', 'test-occ_data.R:508:3',
    'test-occ_data.R:525:3', 'test-occ_data.R:543:3', 'test-occ_data.R:561:3',
    'test-occ_data.R:579:3', 'test-occ_data.R:594:3', 'test-occ_data.R:610:3',
    'test-occ_download.R:13:3', 'test-occ_download_cached.R:10:3',
    'test-occ_download_cached.R:68:3', 'test-occ_download_cached.R:107:3',
    'test-occ_download_cancel.R:2:3', 'test-occ_download_cancel.R:19:3',
    'test-occ_download_cancel.R:27:3',
    'test-occ_download_dataset_activity.R:4:3',
    'test-occ_download_dataset_activity.R:26:3',
    'test-occ_download_datasets.R:4:3', 'test-occ_download_datasets.R:27:3',
    'test-occ_download_get.R:2:3', 'test-occ_download_import.R:2:3',
    'test-occ_download_import.R:17:3', 'test-occ_download_list.R:10:3',
    'test-occ_download_list.R:28:3', 'test-occ_download_list.R:51:3',
    'test-occ_download_meta.R:2:3', 'test-occ_download_meta.R:37:3',
    'test-occ_download_prep.R:2:3', 'test-occ_download_prep.R:37:3',
    'test-occ_download_prep.R:54:3', 'test-occ_download_queue.R:14:3',
    'test-occ_download_queue.R:36:3', 'test-occ_download_queue.R:77:3',
    'test-occ_download_wait.R:2:3', 'test-occ_download_wait.R:21:3',
    'test-occ_get.r:43:3', 'test-occ_search.r:7:3', 'test-occ_search.r:35:3',
    'test-occ_search.r:67:3', 'test-occ_search.r:101:3',
    'test-occ_search.r:114:3', 'test-occ_search.r:128:3',
    'test-occ_search.r:143:3', 'test-occ_search.r:161:3',
    'test-occ_search.r:178:3', 'test-occ_search.r:195:3',
    'test-occ_search.r:214:3', 'test-occ_search.r:231:3',
    'test-occ_search.r:248:3', 'test-occ_search.r:266:3',
    'test-occ_search.r:283:3', 'test-occ_search.r:300:3',
    'test-occ_search.r:318:3', 'test-occ_search.r:336:3',
    'test-occ_search.r:354:3', 'test-occ_search.r:369:3',
    'test-occ_search.r:386:3', 'test-occ_search.r:436:3',
    'test-occ_search.r:510:3', 'test-organizations.r:4:3',
    'test-organizations.r:67:3', 'test-print_gbif.R:4:3',
    'test-print_gbif.R:23:3', 'test-wkt_large.R:36:3', 'test-wkt_large.R:72:3',
    'test-wkt_large.R:91:3', 'test-wkt_parse.R:34:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-dataset_uuid_funs.R:76:3'): dataset_uuid_funs fail well ──────
  `dataset_metrics("4fa7b334-ce0d-4e88-aaae-2e0c138d049e")` threw an error with unexpected message.
  Expected match: "Dataset should be a checklist."
  Actual message: "Error in the HTTP2 framing layer"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-dataset_uuid_funs.R:76:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─rgbif::dataset_metrics("4fa7b334-ce0d-4e88-aaae-2e0c138d049e")
    7.   └─rgbif::dataset_get(uuid)
    8.     ├─rgbif:::rgbif_compact(gbif_GET(url, args = NULL, TRUE, curlopts))
    9.     │ └─base::Filter(Negate(is_null_or_na), l)
   10.     │   ├─base::unlist(lapply(x, f))
   11.     │   └─base::lapply(x, f)
   12.     └─rgbif:::gbif_GET(url, args = NULL, TRUE, curlopts)
   13.       └─cli$get(query = args)
   14.         └─private$make_request(rr)
   15.           └─crul:::crul_fetch(opts)
   16.             └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  ── Error ('test-occ_count.r:83:3'): occ_count fails well ───────────────────────
  Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: Error in the HTTP2 framing layer
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(occ_count(limit = 100), "limit not acceptable args for occ_count\\(\\) and will be ignored.") at test-occ_count.r:83:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─rgbif::occ_count(limit = 100)
    7.   └─rgbif::occ_search(...)
    8.     └─rgbif (local) .get_occ_search(curlopts = curlopts)
    9.       └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
   10.         └─cli$get(query = args)
   11.           └─private$make_request(rr)
   12.             └─crul:::crul_fetch(opts)
   13.               └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  
  [ FAIL 2 | WARN 5 | SKIP 133 | PASS 1334 ]
  Error: Test failures
  Execution halted