CRAN Package Check Results for Package dtreg

Last updated on 2025-02-08 18:49:32 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.0 4.24 33.74 37.98 NOTE
r-devel-linux-x86_64-debian-gcc 1.1.0 3.12 25.93 29.05 ERROR
r-devel-linux-x86_64-fedora-clang 1.1.0 66.22 NOTE
r-devel-linux-x86_64-fedora-gcc 1.1.0 71.95 NOTE
r-devel-windows-x86_64 1.1.0 5.00 59.00 64.00 NOTE
r-patched-linux-x86_64 1.1.0 3.81 32.22 36.03 OK
r-release-linux-x86_64 1.1.0 4.38 32.15 36.53 OK
r-release-macos-arm64 1.1.0 81.00 OK
r-release-macos-x86_64 1.1.0 121.00 OK
r-release-windows-x86_64 1.1.0 5.00 60.00 65.00 OK
r-oldrel-macos-arm64 1.1.0 70.00 OK
r-oldrel-macos-x86_64 1.1.0 121.00 OK
r-oldrel-windows-x86_64 1.1.0 6.00 65.00 71.00 OK

Check Details

Version: 1.1.0
Check: DESCRIPTION meta-information
Result: NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: ‘xxx_onload.R’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 1.1.0
Check: examples
Result: ERROR Running examples in ‘dtreg-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: load_datatype > ### Title: Load classes for a schema with the known identifier > ### Aliases: load_datatype > > ### ** Examples > > dt <- dtreg::load_datatype("https://doi.org/21.T11969/1ea0e148d9bbe08335cd") Error in `httr2::req_perform()`: ! Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! SSL peer certificate or SSH remote key was not OK [typeregistry.lab.pidconsortium.net]: SSL certificate problem: certificate has expired Backtrace: ▆ 1. └─dtreg::load_datatype("https://doi.org/21.T11969/1ea0e148d9bbe08335cd") 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_epic(datatype_id) 5. └─dtreg (local) extractor_function(datatype_id) 6. └─dtreg:::request_dtr(paste0(datatype_id, "?locatt=view:json")) 7. └─httr2::req_perform(req) 8. └─base::tryCatch(...) 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/4s] 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(dtreg) > > test_check("dtreg") [ FAIL 7 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-extract_epic.R:2:3'): extract_epic gives the specified schema ── <httr2_failure/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! SSL peer certificate or SSH remote key was not OK [typeregistry.lab.pidconsortium.net]: SSL certificate problem: certificate has expired Backtrace: ▆ 1. └─dtreg:::extract_epic("https://doi.org/21.T11969/1ea0e148d9bbe08335cd") at test-extract_epic.R:2:3 2. └─dtreg (local) extractor_function(datatype_id) 3. └─dtreg:::request_dtr(paste0(datatype_id, "?locatt=view:json")) 4. └─httr2::req_perform(req) 5. └─base::tryCatch(...) 6. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 8. └─value[[3L]](cond) ── Error ('test-extract_epic.R:15:3'): extract_epic extracts properties correctly ── <httr2_failure/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! SSL peer certificate or SSH remote key was not OK [typeregistry.lab.pidconsortium.net]: SSL certificate problem: certificate has expired Backtrace: ▆ 1. └─dtreg:::extract_epic("https://doi.org/21.T11969/31483624b5c80014b6c7") at test-extract_epic.R:15:3 2. └─dtreg (local) extractor_function(datatype_id) 3. └─dtreg:::request_dtr(paste0(datatype_id, "?locatt=view:json")) 4. └─httr2::req_perform(req) 5. └─base::tryCatch(...) 6. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 8. └─value[[3L]](cond) ── Error ('test-helpers.R:30:3'): show_fields returns no fields ──────────────── <httr2_failure/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! SSL peer certificate or SSH remote key was not OK [typeregistry.lab.pidconsortium.net]: SSL certificate problem: certificate has expired Backtrace: ▆ 1. └─dtreg::load_datatype("https://doi.org/21.T11969/1ea0e148d9bbe08335cd") at test-helpers.R:30:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_epic(datatype_id) 5. └─dtreg (local) extractor_function(datatype_id) 6. └─dtreg:::request_dtr(paste0(datatype_id, "?locatt=view:json")) 7. └─httr2::req_perform(req) 8. └─base::tryCatch(...) 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) ── Error ('test-helpers.R:36:3'): show_fields returns expected fields ────────── <httr2_failure/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! SSL peer certificate or SSH remote key was not OK [typeregistry.lab.pidconsortium.net]: SSL certificate problem: certificate has expired Backtrace: ▆ 1. └─dtreg::load_datatype("https://doi.org/21.T11969/74bc7748b8cd520908bc") at test-helpers.R:36:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_epic(datatype_id) 5. └─dtreg (local) extractor_function(datatype_id) 6. └─dtreg:::request_dtr(paste0(datatype_id, "?locatt=view:json")) 7. └─httr2::req_perform(req) 8. └─base::tryCatch(...) 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) ── Error ('test-load_datatype.R:2:3'): load_datatype loads a specific ePIC schema ── <httr2_failure/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! SSL peer certificate or SSH remote key was not OK [typeregistry.lab.pidconsortium.net]: SSL certificate problem: certificate has expired Backtrace: ▆ 1. └─dtreg::load_datatype("https://doi.org/21.T11969/1ea0e148d9bbe08335cd") at test-load_datatype.R:2:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_epic(datatype_id) 5. └─dtreg (local) extractor_function(datatype_id) 6. └─dtreg:::request_dtr(paste0(datatype_id, "?locatt=view:json")) 7. └─httr2::req_perform(req) 8. └─base::tryCatch(...) 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) ── Error ('test-request_dtr.R:2:3'): request_dtr gets info from an epic schema ── <httr2_failure/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! SSL peer certificate or SSH remote key was not OK [typeregistry.lab.pidconsortium.net]: SSL certificate problem: certificate has expired Backtrace: ▆ 1. └─dtreg:::request_dtr("https://doi.org/21.T11969/6128ce5def6ffac006e0?locatt=view:json") at test-request_dtr.R:2:3 2. └─httr2::req_perform(req) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Error ('test-to_jsonld.R:38:3'): to_jsonld gives error when a field is a function ── <httr2_failure/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! SSL peer certificate or SSH remote key was not OK [typeregistry.lab.pidconsortium.net]: SSL certificate problem: certificate has expired Backtrace: ▆ 1. └─dtreg::load_datatype("https://doi.org/21.T11969/74bc7748b8cd520908bc") at test-to_jsonld.R:38:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_epic(datatype_id) 5. └─dtreg (local) extractor_function(datatype_id) 6. └─dtreg:::request_dtr(paste0(datatype_id, "?locatt=view:json")) 7. └─httr2::req_perform(req) 8. └─base::tryCatch(...) 9. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. └─value[[3L]](cond) [ FAIL 7 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc