- using R Under development (unstable) (2024-04-27 r86487)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 18.1.4 (1)
Debian flang-new version 18.1.4 (1)
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘rgbif/DESCRIPTION’ ... OK
- this is package ‘rgbif’ version ‘3.7.9’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘rgbif’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [2s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the package can be unloaded cleanly ... [2s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [2s/2s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [31s/38s] OK
- checking Rd files ... [2s/2s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... [3s/4s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [81s/92s] ERROR
Running ‘test-all.R’ [81s/92s]
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
- checking PDF version of manual ... [12s/14s] OK
- checking HTML version of manual ... [7s/10s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR