CRAN Package Check Results for Package rgbif

Last updated on 2022-11-27 04:51:29 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.7.3 15.99 186.74 202.73 OK
r-devel-linux-x86_64-debian-gcc 3.7.3 10.15 138.24 148.39 OK
r-devel-linux-x86_64-fedora-clang 3.7.3 260.20 OK
r-devel-linux-x86_64-fedora-gcc 3.7.3 246.24 OK
r-devel-windows-x86_64 3.7.3 185.00 238.00 423.00 OK
r-patched-linux-x86_64 3.7.3 18.82 173.10 191.92 OK
r-release-linux-x86_64 3.7.3 13.26 173.43 186.69 OK
r-release-macos-arm64 3.7.3 67.00 OK
r-release-macos-x86_64 3.7.3 90.00 OK
r-release-windows-x86_64 3.7.3 129.00 210.00 339.00 ERROR
r-oldrel-macos-arm64 3.7.3 67.00 OK
r-oldrel-macos-x86_64 3.7.3 88.00 OK
r-oldrel-windows-ix86+x86_64 3.7.3 30.00 205.00 235.00 OK

Check Details

Version: 3.7.3
Check: tests
Result: ERROR
     Running 'test-all.R' [48s]
    Running the tests in 'tests/test-all.R' failed.
    Complete output:
     > library(testthat)
     > test_check("rgbif")
     Loading required package: rgbif
     [ FAIL 49 | WARN 4 | SKIP 128 | PASS 615 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (128)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-dataset_search.r:4'): type query returns the correct class ─────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoxMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-dataset_search.r:4:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::dataset_search(type = "OCCURRENCE") at test-dataset_search.r:5:4
     4. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     5. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     6. └─jsonlite:::parse_and_simplify(...)
     7. └─jsonlite:::parseJSON(txt, bigint_as_char)
     8. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-dataset_search.r:18'): keyword query returns the correct ───────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoxMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-dataset_search.r:18:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::dataset_search(keyword = "bird") at test-dataset_search.r:19:4
     4. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     5. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     6. └─jsonlite:::parse_and_simplify(...)
     7. └─jsonlite:::parseJSON(txt, bigint_as_char)
     8. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-dataset_search.r:35'): search query returns the correct class ──
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoxMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-dataset_search.r:35:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::dataset_search(query = "amsterdam") at test-dataset_search.r:36:4
     4. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     5. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     6. └─jsonlite:::parse_and_simplify(...)
     7. └─jsonlite:::parseJSON(txt, bigint_as_char)
     8. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-dataset_search.r:51'): limited search returns the correct ──────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoyLCJ
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-dataset_search.r:51:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::dataset_search(type = "OCCURRENCE", limit = 2) at test-dataset_search.r:52:4
     4. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     5. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     6. └─jsonlite:::parse_and_simplify(...)
     7. └─jsonlite:::parseJSON(txt, bigint_as_char)
     8. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-dataset_search.r:67'): return defunct, throws warning ──────────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoxMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-dataset_search.r:67:2
     2. │ └─cassette$call_block(...)
     3. ├─testthat::expect_warning(...) at test-dataset_search.r:68:4
     4. │ └─testthat:::quasi_capture(...)
     5. │ ├─testthat (local) .capture(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     8. └─rgbif::dataset_search(type = "OCCURRENCE", return = "descriptions")
     9. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     10. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     11. └─jsonlite:::parse_and_simplify(...)
     12. └─jsonlite:::parseJSON(txt, bigint_as_char)
     13. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-dataset_search.r:75'): args that support many repeated uses in one request ──
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoxMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-dataset_search.r:75:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::dataset_search(type = c("metadata", "checklist")) at test-dataset_search.r:76:4
     4. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     5. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     6. └─jsonlite:::parse_and_simplify(...)
     7. └─jsonlite:::parseJSON(txt, bigint_as_char)
     8. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-dataset_suggest.r:4'): type query returns the correct class ────
     Error: lexical error: invalid char in json text.
     W3sia2V5IjoiZDRiNzI0MDQtNWM0Mi0
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-dataset_suggest.r:4:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::dataset_suggest(query = "Amazon", type = "OCCURRENCE") at test-dataset_suggest.r:5:4
     4. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     5. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     6. └─jsonlite:::parse_and_simplify(...)
     7. └─jsonlite:::parseJSON(txt, bigint_as_char)
     8. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-dataset_suggest.r:18'): search query returns the correct class ──
     Error: lexical error: invalid char in json text.
     W3sia2V5IjoiYjZjYTk1YjAtYzA2Ni0
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-dataset_suggest.r:18:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::dataset_suggest(query = "amsterdam") at test-dataset_suggest.r:19:4
     4. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     5. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     6. └─jsonlite:::parse_and_simplify(...)
     7. └─jsonlite:::parseJSON(txt, bigint_as_char)
     8. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-dataset_suggest.r:30'): limited search returns the correct class ──
     Error: lexical error: invalid char in json text.
     W3sia2V5IjoiNGZhN2IzMzQtY2UwZC0
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-dataset_suggest.r:30:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::dataset_suggest(type = "OCCURRENCE", limit = 2) at test-dataset_suggest.r:31:4
     4. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     5. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     6. └─jsonlite:::parse_and_simplify(...)
     7. └─jsonlite:::parseJSON(txt, bigint_as_char)
     8. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-dataset_suggest.r:42'): limited fields query returns the correct class ──
     Error: lexical error: invalid char in json text.
     W3sia2V5IjoiNGZhN2IzMzQtY2UwZC0
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-dataset_suggest.r:42:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::dataset_suggest(type = "OCCURRENCE", description = TRUE) at test-dataset_suggest.r:43:4
     4. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     5. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     6. └─jsonlite:::parse_and_simplify(...)
     7. └─jsonlite:::parseJSON(txt, bigint_as_char)
     8. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-dataset_suggest.r:52'): args that support many repeated uses in one request ──
     Error: lexical error: invalid char in json text.
     W3sia2V5IjoiZDdkZGRiZjQtMmNmMC0
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-dataset_suggest.r:52:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::dataset_suggest(type = c("metadata", "checklist")) at test-dataset_suggest.r:53:4
     4. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     5. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     6. └─jsonlite:::parse_and_simplify(...)
     7. └─jsonlite:::parseJSON(txt, bigint_as_char)
     8. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-gbif_citation.R:27'): gbif_citation w/ occ_download_meta ───────
     Error: lexical error: invalid char in json text.
     eyJrZXkiOiIwMDAwMTIyLTE3MTAyMDE
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-gbif_citation.R:27:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::occ_download_meta("0000122-171020152545675") at test-gbif_citation.R:28:4
     4. └─jsonlite::fromJSON(tt, FALSE)
     5. └─jsonlite:::parse_and_simplify(...)
     6. └─jsonlite:::parseJSON(txt, bigint_as_char)
     7. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-gbif_citation.R:36'): gbif_citation w/ downloadkey ─────────────
     Error: lexical error: invalid char in json text.
     eyJrZXkiOiIwMDAwMTIyLTE3MTAyMDE
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-gbif_citation.R:36:2
     2. │ └─cassette$call_block(...)
     3. ├─rgbif::gbif_citation("0000122-171020152545675") at test-gbif_citation.R:37:4
     4. └─rgbif:::gbif_citation.character("0000122-171020152545675")
     5. ├─rgbif:::gbif_citation.occ_download_meta(occ_download_meta(x))
     6. └─rgbif::occ_download_meta(x)
     7. └─jsonlite::fromJSON(tt, FALSE)
     8. └─jsonlite:::parse_and_simplify(...)
     9. └─jsonlite:::parseJSON(txt, bigint_as_char)
     10. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-gbif_citation.R:44'): gbif_citation w/ datasetkey ──────────────
     Error: lexical error: invalid char in json text.
     eyJrZXkiOiJiMTI0ZTFlMC00NzU1LTQ
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-gbif_citation.R:44:2
     2. │ └─cassette$call_block(...)
     3. ├─rgbif::gbif_citation("b124e1e0-4755-430f-9eab-894f25a9b59c") at test-gbif_citation.R:45:4
     4. └─rgbif:::gbif_citation.character("b124e1e0-4755-430f-9eab-894f25a9b59c")
     5. └─rgbif:::as_occ_d_key(x)
     6. └─rgbif::datasets(uuid = x)
     7. └─rgbif:::getdata(data)
     8. └─rgbif:::gbif_GET(url, args, TRUE, curlopts)
     9. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     10. └─jsonlite:::parse_and_simplify(...)
     11. └─jsonlite:::parseJSON(txt, bigint_as_char)
     12. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-installations.r:4'): query all installations returns the correct class ──
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoxMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-installations.r:4:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::installations() at test-installations.r:5:4
     4. └─rgbif:::getdata(data)
     5. └─rgbif:::gbif_GET(url, args, TRUE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-installations.r:41'): search for deleted and nonPublishing installations returns the correct ──
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoyLCJ
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-installations.r:41:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::installations(data = "deleted", limit = 2) at test-installations.r:42:4
     4. └─rgbif:::getdata(data)
     5. └─rgbif:::gbif_GET(url, args, TRUE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-name_issues.R:4'): name_issues ─────────────────────────────────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoxMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-name_issues.R:4:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::name_usage(name = "Lupus", limit = 100) at test-name_issues.R:6:4
     4. └─rgbif:::getdata(data, key, uuid, shortname, args, curlopts)
     5. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-name_lookup.r:30'): works with habitat parameter ───────────────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjowLCJ
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-name_lookup.r:30:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::name_lookup(facet = "habitat", limit = 0) at test-name_lookup.r:32:4
     4. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     5. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     6. └─jsonlite:::parse_and_simplify(...)
     7. └─jsonlite:::parseJSON(txt, bigint_as_char)
     8. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-name_parse.R:4'): returns the correct class ────────────────────
     Error: lexical error: invalid char in json text.
     W3sic2NpZW50aWZpY05hbWUiOiJ4IEF
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-name_parse.R:4:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::name_parse(scientificname = "x Agropogon littoralis") at test-name_parse.R:6:4
     4. └─jsonlite::fromJSON(tt$parse("UTF-8"), FALSE)
     5. └─jsonlite:::parse_and_simplify(...)
     6. └─jsonlite:::parseJSON(txt, bigint_as_char)
     7. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-name_suggest.r:4'): name_suggest returns the correct ───────────
     Error: lexical error: invalid char in json text.
     W3sia2V5IjoyNDM1MDk5LCJraW5nZG9
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-name_suggest.r:4:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::name_suggest(q = "Puma concolor") at test-name_suggest.r:5:4
     4. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     5. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     6. └─jsonlite:::parse_and_simplify(...)
     7. └─jsonlite:::parseJSON(txt, bigint_as_char)
     8. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-name_usage.r:21'): name_usage works ────────────────────────────
     Error: lexical error: invalid char in json text.
     eyJrZXkiOjEsIm51YktleSI6MSwibmF
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-name_usage.r:21:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::name_usage(key = 1) at test-name_usage.r:22:4
     4. └─rgbif:::getdata(data, key, uuid, shortname, args, curlopts)
     5. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-name_usage.r:61'): name_usage parents route works ──────────────
     Error: lexical error: invalid char in json text.
     W3sia2V5IjoxLCJudWJLZXkiOjEsIm5
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-name_usage.r:61:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::name_usage(key = 5231190, data = "parents") at test-name_usage.r:62:4
     4. └─rgbif:::getdata(data, key, uuid, shortname, args, curlopts)
     5. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-name_usage.r:75'): name_usage children route works ─────────────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoxMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-name_usage.r:75:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::name_usage(key = 5231190, data = "children") at test-name_usage.r:76:4
     4. └─rgbif:::getdata(data, key, uuid, shortname, args, curlopts)
     5. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-name_usage.r:89'): name_usage related route works ──────────────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoxMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-name_usage.r:89:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::name_usage(key = 5231190, data = "related") at test-name_usage.r:90:4
     4. └─rgbif:::getdata(data, key, uuid, shortname, args, curlopts)
     5. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-name_usage.r:115'): name_usage descriptions route works ────────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoxMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-name_usage.r:115:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::name_usage(key = 5231190, data = "descriptions") at test-name_usage.r:116:4
     4. └─rgbif:::getdata(data, key, uuid, shortname, args, curlopts)
     5. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-name_usage.r:129'): name_usage distributions route works ───────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoxMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-name_usage.r:129:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::name_usage(key = 5231190, data = "distributions") at test-name_usage.r:130:4
     4. └─rgbif:::getdata(data, key, uuid, shortname, args, curlopts)
     5. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-name_usage.r:155'): name_usage references route works ──────────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoxMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-name_usage.r:155:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::name_usage(key = 5231190, data = "references") at test-name_usage.r:156:4
     4. └─rgbif:::getdata(data, key, uuid, shortname, args, curlopts)
     5. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-name_usage.r:182'): name_usage vernacularNames route works ─────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoxMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-name_usage.r:182:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::name_usage(key = 5231190, data = "vernacularNames") at test-name_usage.r:183:4
     4. └─rgbif:::getdata(data, key, uuid, shortname, args, curlopts)
     5. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-network.R:16'): network_constituents ───────────────────────────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoxMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-network.R:16:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::network_constituents("4b0d8edb-7504-42c4-9349-63e86c01bf97") at test-network.R:17:4
     4. ├─tibble::as_tibble(...)
     5. └─rgbif::network(uuid, data = "constituents", start = start, limit = limit)
     6. └─rgbif:::getdata(data)
     7. └─rgbif:::gbif_GET(url, args, TRUE, curlopts)
     8. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     9. └─jsonlite:::parse_and_simplify(...)
     10. └─jsonlite:::parseJSON(txt, bigint_as_char)
     11. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-nodes.r:4'): nodes ─────────────────────────────────────────────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoxMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-nodes.r:4:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::nodes() at test-nodes.r:5:4
     4. └─rgbif:::getdata(data)
     5. └─rgbif:::gbif_GET(url, args, TRUE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-oai.R:4'): gbif_oai_identify ───────────────────────────────────
     Error: 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPE9BSS1QTUggeG1sbnM9Imh0dHA6
     Ly93d3cub3BlbmFyY2hpdmVzLm9yZy9PQUkvMi4wLyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9y
     Zy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vd3d3Lm9w
     ZW5hcmNoaXZlcy5vcmcvT0FJLzIuMC8gaHR0cDovL3d3dy5vcGVuYXJj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Avb2FpX2RjLnhzZCI+Cgk8ZGM6dGl0bGU+R0JJ
     RiBSZWdpc3RyeTwvZGM6dGl0bGU+Cgk8ZGM6Y3JlYXRvcj5HbG9iYWwgQmlvZGl2ZXJzaXR5IEluZm9y
     bWF0aW9uIEZhY2lsaXR5IFNlY3JldGFyaWF0PC9kYzpjcmVhdG9yPgoJPGRjOmRlc2NyaXB0aW9uPgoJ
     CVRoZSBHQklGIFJlZ2lzdHJ5IMOi4oKs4oCdIHRoZSBlbnRpdGllcyB0aGF0IG1ha2UgdXAgdGhlIEdC
     SUYgbmV0d29yay4KCQlUaGlzIE9BSS1QTUggc2VydmljZSBleHBvc2VzIERhdGFzZXRzLCBvcmdhbml6
     ZWQgaW50byBzZXRzIG9mIGNvdW50cnksIGluc3RhbGxhdGlvbiBhbmQgcmVzb3VyY2UgdHlwZS4KCQlG
     b3IgbW9yZSBpbmZvcm1hdGlvbiwgc2VlIGh0dHBzOi8vd3d3LmdiaWYub3JnL2RldmVsb3Blci9yZWdp
     c3RyeQoJPC9kYzpkZXNjcmlwdGlvbj4KPC9vYWlfZGM6ZGM+PC9kZXNjcmlwdGlvbj48L0lkZW50aWZ5
     PjwvT0FJLVBNSD4=' does not exist in current working directory ('d:/Rcompile/CRANpkg/local/4.2/rgbif.Rcheck/tests/testthat').
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-oai.R:4:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::gbif_oai_identify() at test-oai.R:5:4
     4. ├─base::as.list(oai::id(url = gboai(), ...))
     5. └─oai::id(url = gboai(), ...)
     6. ├─plyr::rbind.fill(lapply(url, id_, as = as, ...))
     7. └─base::lapply(url, id_, as = as, ...)
     8. └─oai (local) FUN(X[[i]], ...)
     9. ├─oai:::get_headers(xml_children(xml2::read_xml(tt))[[3]])
     10. │ ├─base::lapply(...)
     11. │ └─xml2::xml_children(m)
     12. │ └─xml2:::nodeset_apply(x, function(x) .Call(node_children, x, TRUE))
     13. ├─xml2::xml_children(xml2::read_xml(tt))
     14. │ └─xml2:::nodeset_apply(x, function(x) .Call(node_children, x, TRUE))
     15. ├─xml2::read_xml(tt)
     16. └─xml2:::read_xml.character(tt)
     17. └─xml2:::path_to_connection(x)
     18. └─xml2:::check_path(path)
     ── Error ('test-oai.R:24'): gbif_oai_list_sets ─────────────────────────────────
     Error in `while_oai(url, args, token, as, ...)`: cannot parse downloaded XML, dumped raw XML to file .\oaidump_2022-11-10_14-51-23426c47e46a4xml
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-oai.R:24:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::gbif_oai_list_sets() at test-oai.R:25:4
     4. └─oai::list_sets(url = gboai(), token = token, as = as, ...)
     5. └─oai:::while_oai(url, args, token, as, ...)
     ── Error ('test-oai.R:58'): gbif_oai_get_records ───────────────────────────────
     Error: 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPE9BSS1QTUggeG1sbnM9Imh0dHA6
     Ly93d3cub3BlbmFyY2hpdmVzLm9yZy9PQUkvMi4wLyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9y
     Zy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vd3d3Lm9w
     ZW5hcmNoaXZlcy5vcmcvT0FJLzIuMC8gaHR0cDovL3d3dy5vcGVuYXJjaGl2ZXMub3JnL09BSS8yLjAv
     T0FJLVBNSC54c2QiPjxyZXNwb25zZURhdGU+MjAyMi0wNC0xMVQwNzoyNzo1OFo8L3Jlc3BvbnNlRGF0
     ZT48cmVxdWVzdCB2ZXJiPSJHZXRSZWNvcmQiIGlkZW50aWZpZXI9IjljNGUzNmMxLWQzZjktNDljZS04
     ZWMxLThjNDM0ZmE5ZTZlYiIgbWV0YWRhdGFQcmVmaXg9Im9haV9kYyI+aHR0cDovL2FwaS5nYmlmLm9y
     Zy92MS9vYWktcG1oL3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yIEhlZ2Vk
     acOFwqE8L2RjOmNyZWF0b3I+CiAgICA8ZGM6Y3JlYXRvcj5BYWlrZSBEZSBXZXZlcjwvZGM6Y3JlYXRv
     cj4KCiAgICA8ZGM6ZGF0ZT4yMDE3LTA5LTA4PC9kYzpkYXRlPgogICAgPGRjOmxhbmd1YWdlPmVuPC9k
     YzpsYW5ndWFnZT4KICAgIAoKCiAgICAKCiAgICA8ZGM6Y292ZXJhZ2U+TmF0aW9uYWwgY292ZXJhZ2U8
     L2RjOmNvdmVyYWdlPgogICAgPGRjOmNvdmVyYWdlPjQyLjIxOCwxOC44NTEgLyA0Ni4yMTIsMjMuMDU2
     IChtaW4sIG1heCBMYXRpdHVkZSAvIG1pbiwgbWF4IExvbmdpdHVkZSk8L2RjOmNvdmVyYWdlPgogICAg
     PGRjOmZvcm1hdD5hcHBsaWNhdGlvbi9kd2NhK3ppcDwvZGM6Zm9ybWF0PgogICAgPGRjOnNvdXJjZT5H
     bG9iYWwgQmlvZGl2ZXJzaXR5IEluZm9ybWF0aW9uIEZhY2lsaXR5IChHQklGKSBodHRwczovL3d3dy5n
     YmlmLm9yZzwvZGM6c291cmNlPgo8L29haV9kYzpkYz48L21ldGFkYXRhPjwvcmVjb3JkPjwvR2V0UmVj
     b3JkPjwvT0FJLVBNSD4=' does not exist in current working directory ('d:/Rcompile/CRANpkg/local/4.2/rgbif.Rcheck/tests/testthat').
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-oai.R:58:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::gbif_oai_get_records("9c4e36c1-d3f9-49ce-8ec1-8c434fa9e6eb") at test-oai.R:59:4
     4. └─oai::get_records(...)
     5. ├─stats::setNames(...)
     6. └─base::lapply(...)
     7. └─oai (local) FUN(X[[i]], ...)
     8. ├─xml2::read_xml(tt)
     9. └─xml2:::read_xml.character(tt)
     10. └─xml2:::path_to_connection(x)
     11. └─xml2:::check_path(path)
     ── Error ('test-occ_count.r:4'): occ_count ─────────────────────────────────────
     Error: lexical error: invalid char in json text.
     W3siZGltZW5zaW9ucyI6W3sia2V5Ijo
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-occ_count.r:4:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::occ_count(type = "schema") at test-occ_count.r:8:4
     4. └─jsonlite::fromJSON(res, FALSE)
     5. └─jsonlite:::parse_and_simplify(...)
     6. └─jsonlite:::parseJSON(txt, bigint_as_char)
     7. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-occ_data.R:53'): returns the correct class ─────────────────────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjozMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-occ_data.R:53:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::occ_data(catalogNumber = "6845144") at test-occ_data.R:54:4
     4. └─rgbif (local) .get_occ_data(curlopts = curlopts)
     5. └─rgbif:::gbif_GET(url, args, TRUE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-occ_data.R:106'): returns the correct dimensions ───────────────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoyLCJ
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-occ_data.R:106:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::occ_data(...) at test-occ_data.R:107:4
     4. └─rgbif (local) .get_occ_data(curlopts = curlopts)
     5. └─rgbif:::gbif_GET(url, args, TRUE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-occ_data.R:129'): scientificName basic use works - no synonyms ──
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoyLCJ
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-occ_data.R:129:2
     2. │ └─cassette$call_block(...)
     3. ├─base::suppressMessages(...) at test-occ_data.R:131:4
     4. │ └─base::withCallingHandlers(...)
     5. └─rgbif::occ_data(scientificName = "Pulsatilla patens", limit = 2)
     6. └─rgbif (local) .get_occ_data(curlopts = curlopts)
     7. └─rgbif:::gbif_GET(url, args, TRUE, curlopts)
     8. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     9. └─jsonlite:::parse_and_simplify(...)
     10. └─jsonlite:::parseJSON(txt, bigint_as_char)
     11. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-occ_data.R:294'): works with parameters that allow many inputs ──
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjozLCJ
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-occ_data.R:294:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::occ_data(recordedBy = c("smith", "BJ Stacey"), limit = 3) at test-occ_data.R:296:4
     4. └─base::lapply(...)
     5. └─rgbif (local) FUN(X[[i]], ...)
     6. └─rgbif:::gbif_GET(url, args, TRUE, curlopts)
     7. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     8. └─jsonlite:::parse_and_simplify(...)
     9. └─jsonlite:::parseJSON(txt, bigint_as_char)
     10. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-occ_data.R:315'): key and gbifID fields are character class ────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjozLCJ
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-occ_data.R:315:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::occ_data(taxonKey = 9206251, limit = 3) at test-occ_data.R:316:4
     4. └─rgbif (local) .get_occ_data(curlopts = curlopts)
     5. └─rgbif:::gbif_GET(url, args, TRUE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-occ_data.R:324'): various fields are dropped - so should be absent ──
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjozLCJ
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-occ_data.R:324:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::occ_data(limit = 3) at test-occ_data.R:325:4
     4. └─rgbif (local) .get_occ_data(curlopts = curlopts)
     5. └─rgbif:::gbif_GET(url, args, TRUE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-occ_get.r:4'): returns the correct class ───────────────────────
     Error: lexical error: invalid char in json text.
     eyJrZXkiOjg1NTk5ODE5NCwiZGF0YXN
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-occ_get.r:4:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::occ_get(key = 855998194) at test-occ_get.r:5:4
     4. └─rgbif:::occ_get_helper(FALSE, key, fields, curlopts)
     5. └─base::lapply(...)
     6. └─rgbif (local) FUN(X[[i]], ...)
     7. └─rgbif:::gbif_GET(url, NULL, verbatim, curlopts)
     8. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     9. └─jsonlite:::parse_and_simplify(...)
     10. └─jsonlite:::parseJSON(txt, bigint_as_char)
     11. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-occ_get.r:50'): works w/: fields all, & return extensions data ──
     Error: lexical error: invalid char in json text.
     eyJrZXkiOjEzMTU5NzA2MzIsImRhdGF
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-occ_get.r:50:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::occ_get_verbatim(keys[1], fields = "all") at test-occ_get.r:51:4
     4. └─rgbif:::occ_get_helper(TRUE, key, fields, curlopts)
     5. └─base::lapply(...)
     6. └─rgbif (local) FUN(X[[i]], ...)
     7. └─rgbif:::gbif_GET(url, NULL, verbatim, curlopts)
     8. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     9. └─jsonlite:::parse_and_simplify(...)
     10. └─jsonlite:::parseJSON(txt, bigint_as_char)
     11. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-occ_search.r:84'): returns the correct class ───────────────────
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoyLCJ
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-occ_search.r:84:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::occ_search(taxonKey = key, limit = 2) at test-occ_search.r:85:4
     4. └─rgbif (local) .get_occ_search(curlopts = curlopts)
     5. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-occ_search.r:410'): returns the correct dimensions ─────────────
     Error: lexical error: invalid char in json text.
     eyJ1c2FnZUtleSI6MjQzNTA5OSwic2N
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-occ_search.r:410:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::name_backbone(name = "Puma concolor", kingdom = "animals") at test-occ_search.r:411:4
     4. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     5. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     6. └─jsonlite:::parse_and_simplify(...)
     7. └─jsonlite:::parseJSON(txt, bigint_as_char)
     8. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-occ_search.r:434'): scientificName basic use works - no synonyms ──
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoyLCJ
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-occ_search.r:434:2
     2. │ └─cassette$call_block(...)
     3. ├─base::suppressMessages(...) at test-occ_search.r:436:4
     4. │ └─base::withCallingHandlers(...)
     5. └─rgbif::occ_search(...)
     6. └─rgbif (local) .get_occ_search(curlopts = curlopts)
     7. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     8. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     9. └─jsonlite:::parse_and_simplify(...)
     10. └─jsonlite:::parseJSON(txt, bigint_as_char)
     11. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-occ_search.r:605'): works with parameters that allow many inputs ──
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjozLCJ
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-occ_search.r:605:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::occ_search(recordedBy = c("smith", "BJ Stacey"), limit = 3) at test-occ_search.r:607:4
     4. └─base::lapply(...)
     5. └─rgbif (local) FUN(X[[i]], ...)
     6. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     7. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     8. └─jsonlite:::parse_and_simplify(...)
     9. └─jsonlite:::parseJSON(txt, bigint_as_char)
     10. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-occ_search.r:626'): key and gbifID fields are character class ──
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjozLCJ
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-occ_search.r:626:2
     2. │ └─cassette$call_block(...)
     3. └─rgbif::occ_search(taxonKey = 9206251, limit = 3) at test-occ_search.r:627:4
     4. └─rgbif (local) .get_occ_search(curlopts = curlopts)
     5. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     6. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     7. └─jsonlite:::parse_and_simplify(...)
     8. └─jsonlite:::parseJSON(txt, bigint_as_char)
     9. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-wkt_large.R:68'): wkt is used correctly in querying GBIF - occ_data ──
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoxMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-wkt_large.R:68:2
     2. │ └─cassette$call_block(...)
     3. ├─base::suppressMessages(...) at test-wkt_large.R:69:4
     4. │ └─base::withCallingHandlers(...)
     5. └─rgbif::occ_data(geometry = wkt, limit = 100, geom_big = "bbox")
     6. └─rgbif (local) .get_occ_data(curlopts = curlopts)
     7. └─rgbif:::gbif_GET(url, args, TRUE, curlopts)
     8. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     9. └─jsonlite:::parse_and_simplify(...)
     10. └─jsonlite:::parseJSON(txt, bigint_as_char)
     11. └─jsonlite:::parse_string(txt, bigint_as_char)
     ── Error ('test-wkt_large.R:83'): wkt is used correctly in querying GBIF - occ_search ──
     Error: lexical error: invalid char in json text.
     eyJvZmZzZXQiOjAsImxpbWl0IjoxMDA
     (right here) ------^
    
     Backtrace:
     ▆
     1. ├─vcr::use_cassette(...) at test-wkt_large.R:83:2
     2. │ └─cassette$call_block(...)
     3. ├─base::suppressMessages(...) at test-wkt_large.R:84:4
     4. │ └─base::withCallingHandlers(...)
     5. └─rgbif::occ_search(geometry = wkt, limit = 100, geom_big = "bbox")
     6. └─rgbif (local) .get_occ_search(curlopts = curlopts)
     7. └─rgbif:::gbif_GET(url, args, FALSE, curlopts)
     8. └─jsonlite::fromJSON(temp$parse("UTF-8"), parse)
     9. └─jsonlite:::parse_and_simplify(...)
     10. └─jsonlite:::parseJSON(txt, bigint_as_char)
     11. └─jsonlite:::parse_string(txt, bigint_as_char)
    
     [ FAIL 49 | WARN 4 | SKIP 128 | PASS 615 ]
     Error: Test failures
     Execution halted
Flavor: r-release-windows-x86_64