CRAN Package Check Results for Maintainer ‘Emmanuel Oceguera Conchas <e.oceguera at idiv.de>’

Last updated on 2025-10-13 01:49:07 CEST.

Package ERROR OK
ebvcube 1 12

Package ebvcube

Current CRAN status: ERROR: 1, OK: 12

Version: 0.5.2
Check: tests
Result: ERROR Running 'testthat.R' [294s] Running the tests in 'tests/testthat.R' failed. Complete output: > # 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(ebvcube) ebvcube 0.5.2 > > test_check("ebvcube") [ FAIL 4 | WARN 2 | SKIP 0 | PASS 233 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-download.R:12:5'): test ebv_download ID=numeric ──────────────── Error in `ebv_download(27, dir, verbose = FALSE)`: The EBV Data Portal https://portal.geobon.org cannot be reached. Error in open.connection(con, open = "rt") : cannot open the connection to 'https://portal.geobon.org' Backtrace: ▆ 1. └─ebvcube::ebv_download(27, dir, verbose = FALSE) at test-download.R:12:5 ── Error ('test-download.R:28:5'): test ebv_download ID=title 1 ──────────────── Error in `open.connection(con, "rb")`: cannot open the connection to 'https://portal.geobon.org/api/v1/datasets/1' Backtrace: ▆ 1. └─ebvcube::ebv_download(...) at test-download.R:28:5 2. └─jsonlite::fromJSON(json_path) 3. └─jsonlite:::parse_and_simplify(...) 4. └─jsonlite:::parseJSON(txt, bigint_as_char) 5. └─jsonlite:::parse_con(txt, bigint_as_char) 6. ├─base::open(con, "rb") 7. └─base::open.connection(con, "rb") ── Error ('test-download.R:36:5'): test ebv_download ID=title 2 ──────────────── Error in `ebv_download("Global trends in biodiversity (BES-SIM PREDICTS)", dir, verbose = FALSE)`: The EBV Data Portal https://portal.geobon.org cannot be reached. Error in open.connection(con, open = "rt") : cannot open the connection to 'https://portal.geobon.org' Backtrace: ▆ 1. └─ebvcube::ebv_download(...) at test-download.R:36:5 ── Error ('test-download.R:43:5'): test ebv_download DOIs in download overview table ── Error in `open.connection(con, "rb")`: cannot open the connection to 'https://portal.geobon.org/api/v1/datasets' Backtrace: ▆ 1. └─ebvcube::ebv_download(verbose = FALSE) at test-download.R:43:5 2. └─jsonlite::fromJSON("https://portal.geobon.org/api/v1/datasets") 3. └─jsonlite:::parse_and_simplify(...) 4. └─jsonlite:::parseJSON(txt, bigint_as_char) 5. └─jsonlite:::parse_con(txt, bigint_as_char) 6. ├─base::open(con, "rb") 7. └─base::open.connection(con, "rb") [ FAIL 4 | WARN 2 | SKIP 0 | PASS 233 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64