CRAN Package Check Results for Maintainer ‘Luise Quoss <luise.quoss at idiv.de>’

Last updated on 2024-07-12 15:53:20 CEST.

Package ERROR NOTE OK
ebvcube 4 2 7

Package ebvcube

Current CRAN status: ERROR: 4, NOTE: 2, OK: 7

Version: 0.2.3
Check: data for non-ASCII characters
Result: NOTE Note: found 2 marked UTF-8 strings Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.1
Check: examples
Result: ERROR Running examples in ‘ebvcube-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: ebv_download > ### Title: Download an EBV netCDF file > ### Aliases: ebv_download > > ### ** Examples > > #get all available datasets > datasets <- ebv_download() Warning in open.connection(con, "rb") : cannot open URL 'https://portal.geobon.org/api/v1/datasets': HTTP status was '404 Not Found' Error in open.connection(con, "rb") : cannot open the connection to 'https://portal.geobon.org/api/v1/datasets' Calls: ebv_download ... parse_and_simplify -> parseJSON -> parse_con -> open -> open.connection Execution halted Flavor: r-release-linux-x86_64

Version: 0.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [51s/66s] 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) > > test_check("ebvcube") [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file. For more info on a specific datacube, define the metric and scenario OR datacubepath." [1] "Giving the properties for the file. For more info on a specific datacube, define the metric and scenario OR datacubepath." [1] "Giving the properties for the file. For more info on a specific datacube, define the metric and scenario OR datacubepath." [1] "Giving the properties for the file. For more info on a specific datacube, define the metric and scenario OR datacubepath." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [ FAIL 3 | WARN 14 | SKIP 0 | PASS 194 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-download.R:4:3'): test ebv_download ID=numeric ───────────────── Error in `open.connection(con, "rb")`: cannot open the connection to 'https://portal.geobon.org/api/v1/datasets' Backtrace: ▆ 1. └─ebvcube::ebv_download(27, dir) at test-download.R:4:3 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") ── Error ('test-download.R:10:3'): test ebv_download ID=doi ──────────────────── Error in `open.connection(con, "rb")`: cannot open the connection to 'https://portal.geobon.org/api/v1/datasets' Backtrace: ▆ 1. └─ebvcube::ebv_download("10.25829/f2rdp4", dir) at test-download.R:10:3 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") ── Error ('test-download.R:16:3'): test ebv_download ID=title ────────────────── Error in `open.connection(con, "rb")`: cannot open the connection to 'https://portal.geobon.org/api/v1/datasets' Backtrace: ▆ 1. └─ebvcube::ebv_download(...) at test-download.R:16:3 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 3 | WARN 14 | SKIP 0 | PASS 194 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

Version: 0.2.3
Check: package dependencies
Result: ERROR Package required but not available: ‘HDF5Array’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 0.2.1
Check: examples
Result: ERROR Running examples in 'ebvcube-Ex.R' failed The error most likely occurred in: > ### Name: ebv_download > ### Title: Download an EBV netCDF file > ### Aliases: ebv_download > > ### ** Examples > > #get all available datasets > datasets <- ebv_download() Warning in open.connection(con, "rb") : cannot open URL 'https://portal.geobon.org/api/v1/datasets': HTTP status was '404 Not Found' Error in open.connection(con, "rb") : cannot open the connection to 'https://portal.geobon.org/api/v1/datasets' Calls: ebv_download ... parse_and_simplify -> parseJSON -> parse_con -> open -> open.connection Execution halted Flavor: r-oldrel-windows-x86_64

Version: 0.2.1
Check: tests
Result: ERROR Running 'testthat.R' [42s] 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) > > test_check("ebvcube") [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file. For more info on a specific datacube, define the metric and scenario OR datacubepath." [1] "Giving the properties for the file. For more info on a specific datacube, define the metric and scenario OR datacubepath." [1] "Giving the properties for the file. For more info on a specific datacube, define the metric and scenario OR datacubepath." [1] "Giving the properties for the file. For more info on a specific datacube, define the metric and scenario OR datacubepath." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [1] "Giving the properties for the file and a specified datacube." [ FAIL 3 | WARN 7 | SKIP 0 | PASS 194 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-download.R:4:3'): test ebv_download ID=numeric ───────────────── Error in `open.connection(con, "rb")`: cannot open the connection to 'https://portal.geobon.org/api/v1/datasets' Backtrace: ▆ 1. └─ebvcube::ebv_download(27, dir) at test-download.R:4:3 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") ── Error ('test-download.R:10:3'): test ebv_download ID=doi ──────────────────── Error in `open.connection(con, "rb")`: cannot open the connection to 'https://portal.geobon.org/api/v1/datasets' Backtrace: ▆ 1. └─ebvcube::ebv_download("10.25829/f2rdp4", dir) at test-download.R:10:3 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") ── Error ('test-download.R:16:3'): test ebv_download ID=title ────────────────── Error in `open.connection(con, "rb")`: cannot open the connection to 'https://portal.geobon.org/api/v1/datasets' Backtrace: ▆ 1. └─ebvcube::ebv_download(...) at test-download.R:16:3 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 3 | WARN 7 | SKIP 0 | PASS 194 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64