* using log directory 'd:/Rcompile/CRANpkg/local/4.5/dtreg.Rcheck' * using R Under development (unstable) (2025-02-07 r87707 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'dtreg/DESCRIPTION' ... OK * this is package 'dtreg' version '1.1.0' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'dtreg' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... 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' * 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking whether startup messages can be suppressed ... [0s] 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 ... [3s] OK * checking Rd files ... [0s] OK * checking Rd metadata ... 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [2s] ERROR Running examples in 'dtreg-Ex.R' failed The error most likely occurred in: > ### 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 connect error [typeregistry.lab.pidconsortium.net]: schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen. 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 * checking for unstated dependencies in 'tests' ... OK * checking tests ... [4s] ERROR Running 'testthat.R' [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 ── Error in `httr2::req_perform(req)`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! SSL connect error [typeregistry.lab.pidconsortium.net]: schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen. 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 ── Error in `httr2::req_perform(req)`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! SSL connect error [typeregistry.lab.pidconsortium.net]: schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen. 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 ──────────────── Error in `httr2::req_perform(req)`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! SSL connect error [typeregistry.lab.pidconsortium.net]: schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen. 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 ────────── Error in `httr2::req_perform(req)`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! SSL connect error [typeregistry.lab.pidconsortium.net]: schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen. 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 ── Error in `httr2::req_perform(req)`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! SSL connect error [typeregistry.lab.pidconsortium.net]: schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen. 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 ── Error in `httr2::req_perform(req)`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! SSL connect error [typeregistry.lab.pidconsortium.net]: schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen. 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 ── Error in `httr2::req_perform(req)`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! SSL connect error [typeregistry.lab.pidconsortium.net]: schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen. 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [3s] OK * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [1s] OK * DONE Status: 2 ERRORs, 1 NOTE