Last updated on 2025-02-11 07:48:55 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
dtreg | 7 | 1 | 5 |
Current CRAN status: ERROR: 7, NOTE: 1, OK: 5
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/5s]
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
Version: 1.1.0
Check: examples
Result: 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 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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’
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-fedora-clang
Version: 1.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/15s]
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-fedora-gcc
Version: 1.1.0
Check: examples
Result: 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
Flavors: r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64
Version: 1.1.0
Check: tests
Result: 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 ──
<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 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 ──
<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 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 ────────────────
<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 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 ──────────
<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 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 ──
<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 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 ──
<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 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 ──
<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 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
Flavors: r-devel-windows-x86_64, r-release-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]: server verification failed: certificate has expired. (CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
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-release-linux-x86_64
Version: 1.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/6s]
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]: server verification failed: certificate has expired. (CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
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]: server verification failed: certificate has expired. (CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
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]: server verification failed: certificate has expired. (CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
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]: server verification failed: certificate has expired. (CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
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]: server verification failed: certificate has expired. (CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
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]: server verification failed: certificate has expired. (CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
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]: server verification failed: certificate has expired. (CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
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-release-linux-x86_64
Version: 1.1.0
Check: tests
Result: ERROR
Running 'testthat.R' [5s]
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 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 ──
<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 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 ────────────────
<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 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 ──────────
<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 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 ──
<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 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 ──
<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 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 ──
<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 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
Flavor: r-oldrel-windows-x86_64