CRAN Package Check Results for Package dtreg

Last updated on 2024-11-23 16:49:10 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 4.55 31.11 35.66 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.0 3.24 24.40 27.64 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.0 63.45 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.0 68.21 ERROR
r-devel-windows-x86_64 1.0.0 5.00 54.00 59.00 ERROR
r-patched-linux-x86_64 1.0.0 4.28 29.65 33.93 ERROR
r-release-linux-x86_64 1.0.0 3.96 29.45 33.41 OK
r-release-macos-arm64 1.0.0 56.00 OK
r-release-macos-x86_64 1.0.0 72.00 OK
r-release-windows-x86_64 1.0.0 5.00 55.00 60.00 ERROR
r-oldrel-macos-arm64 1.0.0 58.00 OK
r-oldrel-macos-x86_64 1.0.0 81.00 OK
r-oldrel-windows-x86_64 1.0.0 7.00 59.00 66.00 ERROR

Check Details

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/8s] 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 6 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-extract_orkg.R:2:3'): extract_orkg gives the specified template ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R937648") at test-extract_orkg.R:2:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-extract_orkg.R:18:3'): extract_orkg extracts properties correctly ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R855534") at test-extract_orkg.R:18:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-extract_orkg.R:25:3'): extract_orkg extracts nested templates ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R903086") at test-extract_orkg.R:25:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-load_datatype.R:14:3'): load_datatype loads ORKG template properties correctly ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg::load_datatype("https://incubating.orkg.org/template/R855534") at test-load_datatype.R:14:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_orkg(datatype_id) 5. └─dtreg (local) extractor_function(resource_id) 6. └─dtreg:::request_dtr(...) 7. └─httr2::req_perform(req) 8. └─httr2:::handle_resp(req, resp, error_call = error_call) 9. └─httr2:::resp_abort(resp, req, body, call = error_call) 10. └─rlang::abort(...) ── Error ('test-request_dtr.R:7:3'): request_dtr gets info from an orkg template ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::request_dtr("https://incubating.orkg.org//api/templates/R855534") at test-request_dtr.R:7:3 2. └─httr2::req_perform(req) 3. └─httr2:::handle_resp(req, resp, error_call = error_call) 4. └─httr2:::resp_abort(resp, req, body, call = error_call) 5. └─rlang::abort(...) ── Error ('test-to_jsonld.R:116:3'): to_jsonld writes an ORKG instance into JSONLD ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg::load_datatype("https://incubating.orkg.org/template/R855534") at test-to_jsonld.R:116:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_orkg(datatype_id) 5. └─dtreg (local) extractor_function(resource_id) 6. └─dtreg:::request_dtr(...) 7. └─httr2::req_perform(req) 8. └─httr2:::handle_resp(req, resp, error_call = error_call) 9. └─httr2:::resp_abort(resp, req, body, call = error_call) 10. └─rlang::abort(...) [ FAIL 6 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-patched-linux-x86_64

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/8s] 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 6 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-extract_orkg.R:2:3'): extract_orkg gives the specified template ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R937648") at test-extract_orkg.R:2:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-extract_orkg.R:18:3'): extract_orkg extracts properties correctly ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R855534") at test-extract_orkg.R:18:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-extract_orkg.R:25:3'): extract_orkg extracts nested templates ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R903086") at test-extract_orkg.R:25:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-load_datatype.R:14:3'): load_datatype loads ORKG template properties correctly ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg::load_datatype("https://incubating.orkg.org/template/R855534") at test-load_datatype.R:14:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_orkg(datatype_id) 5. └─dtreg (local) extractor_function(resource_id) 6. └─dtreg:::request_dtr(...) 7. └─httr2::req_perform(req) 8. └─httr2:::handle_resp(req, resp, error_call = error_call) 9. └─httr2:::resp_abort(resp, req, body, call = error_call) 10. └─rlang::abort(...) ── Error ('test-request_dtr.R:7:3'): request_dtr gets info from an orkg template ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::request_dtr("https://incubating.orkg.org//api/templates/R855534") at test-request_dtr.R:7:3 2. └─httr2::req_perform(req) 3. └─httr2:::handle_resp(req, resp, error_call = error_call) 4. └─httr2:::resp_abort(resp, req, body, call = error_call) 5. └─rlang::abort(...) ── Error ('test-to_jsonld.R:116:3'): to_jsonld writes an ORKG instance into JSONLD ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg::load_datatype("https://incubating.orkg.org/template/R855534") at test-to_jsonld.R:116:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_orkg(datatype_id) 5. └─dtreg (local) extractor_function(resource_id) 6. └─dtreg:::request_dtr(...) 7. └─httr2::req_perform(req) 8. └─httr2:::handle_resp(req, resp, error_call = error_call) 9. └─httr2:::resp_abort(resp, req, body, call = error_call) 10. └─rlang::abort(...) [ FAIL 6 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/22s] 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 6 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-extract_orkg.R:2:3'): extract_orkg gives the specified template ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R937648") at test-extract_orkg.R:2:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-extract_orkg.R:18:3'): extract_orkg extracts properties correctly ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R855534") at test-extract_orkg.R:18:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-extract_orkg.R:25:3'): extract_orkg extracts nested templates ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R903086") at test-extract_orkg.R:25:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-load_datatype.R:14:3'): load_datatype loads ORKG template properties correctly ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg::load_datatype("https://incubating.orkg.org/template/R855534") at test-load_datatype.R:14:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_orkg(datatype_id) 5. └─dtreg (local) extractor_function(resource_id) 6. └─dtreg:::request_dtr(...) 7. └─httr2::req_perform(req) 8. └─httr2:::handle_resp(req, resp, error_call = error_call) 9. └─httr2:::resp_abort(resp, req, body, call = error_call) 10. └─rlang::abort(...) ── Error ('test-request_dtr.R:7:3'): request_dtr gets info from an orkg template ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::request_dtr("https://incubating.orkg.org//api/templates/R855534") at test-request_dtr.R:7:3 2. └─httr2::req_perform(req) 3. └─httr2:::handle_resp(req, resp, error_call = error_call) 4. └─httr2:::resp_abort(resp, req, body, call = error_call) 5. └─rlang::abort(...) ── Error ('test-to_jsonld.R:116:3'): to_jsonld writes an ORKG instance into JSONLD ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg::load_datatype("https://incubating.orkg.org/template/R855534") at test-to_jsonld.R:116:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_orkg(datatype_id) 5. └─dtreg (local) extractor_function(resource_id) 6. └─dtreg:::request_dtr(...) 7. └─httr2::req_perform(req) 8. └─httr2:::handle_resp(req, resp, error_call = error_call) 9. └─httr2:::resp_abort(resp, req, body, call = error_call) 10. └─rlang::abort(...) [ FAIL 6 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.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 6 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-extract_orkg.R:2:3'): extract_orkg gives the specified template ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R937648") at test-extract_orkg.R:2:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-extract_orkg.R:18:3'): extract_orkg extracts properties correctly ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R855534") at test-extract_orkg.R:18:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-extract_orkg.R:25:3'): extract_orkg extracts nested templates ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R903086") at test-extract_orkg.R:25:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-load_datatype.R:14:3'): load_datatype loads ORKG template properties correctly ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg::load_datatype("https://incubating.orkg.org/template/R855534") at test-load_datatype.R:14:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_orkg(datatype_id) 5. └─dtreg (local) extractor_function(resource_id) 6. └─dtreg:::request_dtr(...) 7. └─httr2::req_perform(req) 8. └─httr2:::handle_resp(req, resp, error_call = error_call) 9. └─httr2:::resp_abort(resp, req, body, call = error_call) 10. └─rlang::abort(...) ── Error ('test-request_dtr.R:7:3'): request_dtr gets info from an orkg template ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::request_dtr("https://incubating.orkg.org//api/templates/R855534") at test-request_dtr.R:7:3 2. └─httr2::req_perform(req) 3. └─httr2:::handle_resp(req, resp, error_call = error_call) 4. └─httr2:::resp_abort(resp, req, body, call = error_call) 5. └─rlang::abort(...) ── Error ('test-to_jsonld.R:116:3'): to_jsonld writes an ORKG instance into JSONLD ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg::load_datatype("https://incubating.orkg.org/template/R855534") at test-to_jsonld.R:116:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_orkg(datatype_id) 5. └─dtreg (local) extractor_function(resource_id) 6. └─dtreg:::request_dtr(...) 7. └─httr2::req_perform(req) 8. └─httr2:::handle_resp(req, resp, error_call = error_call) 9. └─httr2:::resp_abort(resp, req, body, call = error_call) 10. └─rlang::abort(...) [ FAIL 6 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.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 6 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-extract_orkg.R:2:3'): extract_orkg gives the specified template ── <httr2_http_503/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 503 Service Unavailable. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R937648") at test-extract_orkg.R:2:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-extract_orkg.R:18:3'): extract_orkg extracts properties correctly ── <httr2_http_503/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 503 Service Unavailable. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R855534") at test-extract_orkg.R:18:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-extract_orkg.R:25:3'): extract_orkg extracts nested templates ── <httr2_http_503/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 503 Service Unavailable. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R903086") at test-extract_orkg.R:25:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-load_datatype.R:14:3'): load_datatype loads ORKG template properties correctly ── <httr2_http_503/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 503 Service Unavailable. Backtrace: ▆ 1. └─dtreg::load_datatype("https://incubating.orkg.org/template/R855534") at test-load_datatype.R:14:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_orkg(datatype_id) 5. └─dtreg (local) extractor_function(resource_id) 6. └─dtreg:::request_dtr(...) 7. └─httr2::req_perform(req) 8. └─httr2:::handle_resp(req, resp, error_call = error_call) 9. └─httr2:::resp_abort(resp, req, body, call = error_call) 10. └─rlang::abort(...) ── Error ('test-request_dtr.R:7:3'): request_dtr gets info from an orkg template ── <httr2_http_503/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 503 Service Unavailable. Backtrace: ▆ 1. └─dtreg:::request_dtr("https://incubating.orkg.org//api/templates/R855534") at test-request_dtr.R:7:3 2. └─httr2::req_perform(req) 3. └─httr2:::handle_resp(req, resp, error_call = error_call) 4. └─httr2:::resp_abort(resp, req, body, call = error_call) 5. └─rlang::abort(...) ── Error ('test-to_jsonld.R:116:3'): to_jsonld writes an ORKG instance into JSONLD ── <httr2_http_503/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 503 Service Unavailable. Backtrace: ▆ 1. └─dtreg::load_datatype("https://incubating.orkg.org/template/R855534") at test-to_jsonld.R:116:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_orkg(datatype_id) 5. └─dtreg (local) extractor_function(resource_id) 6. └─dtreg:::request_dtr(...) 7. └─httr2::req_perform(req) 8. └─httr2:::handle_resp(req, resp, error_call = error_call) 9. └─httr2:::resp_abort(resp, req, body, call = error_call) 10. └─rlang::abort(...) [ FAIL 6 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Version: 1.0.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 6 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-extract_orkg.R:2:3'): extract_orkg gives the specified template ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R937648") at test-extract_orkg.R:2:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-extract_orkg.R:18:3'): extract_orkg extracts properties correctly ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R855534") at test-extract_orkg.R:18:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-extract_orkg.R:25:3'): extract_orkg extracts nested templates ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R903086") at test-extract_orkg.R:25:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-load_datatype.R:14:3'): load_datatype loads ORKG template properties correctly ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg::load_datatype("https://incubating.orkg.org/template/R855534") at test-load_datatype.R:14:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_orkg(datatype_id) 5. └─dtreg (local) extractor_function(resource_id) 6. └─dtreg:::request_dtr(...) 7. └─httr2::req_perform(req) 8. └─httr2:::handle_resp(req, resp, error_call = error_call) 9. └─httr2:::resp_abort(resp, req, body, call = error_call) 10. └─rlang::abort(...) ── Error ('test-request_dtr.R:7:3'): request_dtr gets info from an orkg template ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::request_dtr("https://incubating.orkg.org//api/templates/R855534") at test-request_dtr.R:7:3 2. └─httr2::req_perform(req) 3. └─httr2:::handle_resp(req, resp, error_call = error_call) 4. └─httr2:::resp_abort(resp, req, body, call = error_call) 5. └─rlang::abort(...) ── Error ('test-to_jsonld.R:116:3'): to_jsonld writes an ORKG instance into JSONLD ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg::load_datatype("https://incubating.orkg.org/template/R855534") at test-to_jsonld.R:116:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_orkg(datatype_id) 5. └─dtreg (local) extractor_function(resource_id) 6. └─dtreg:::request_dtr(...) 7. └─httr2::req_perform(req) 8. └─httr2:::handle_resp(req, resp, error_call = error_call) 9. └─httr2:::resp_abort(resp, req, body, call = error_call) 10. └─rlang::abort(...) [ FAIL 6 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

Version: 1.0.0
Check: tests
Result: ERROR Running 'testthat.R' [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 6 | WARN 0 | SKIP 0 | PASS 27 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-extract_orkg.R:2:3'): extract_orkg gives the specified template ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R937648") at test-extract_orkg.R:2:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-extract_orkg.R:18:3'): extract_orkg extracts properties correctly ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R855534") at test-extract_orkg.R:18:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-extract_orkg.R:25:3'): extract_orkg extracts nested templates ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::extract_orkg("https://incubating.orkg.org/template/R903086") at test-extract_orkg.R:25:3 2. └─dtreg (local) extractor_function(resource_id) 3. └─dtreg:::request_dtr(...) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_abort(resp, req, body, call = error_call) 7. └─rlang::abort(...) ── Error ('test-load_datatype.R:14:3'): load_datatype loads ORKG template properties correctly ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg::load_datatype("https://incubating.orkg.org/template/R855534") at test-load_datatype.R:14:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_orkg(datatype_id) 5. └─dtreg (local) extractor_function(resource_id) 6. └─dtreg:::request_dtr(...) 7. └─httr2::req_perform(req) 8. └─httr2:::handle_resp(req, resp, error_call = error_call) 9. └─httr2:::resp_abort(resp, req, body, call = error_call) 10. └─rlang::abort(...) ── Error ('test-request_dtr.R:7:3'): request_dtr gets info from an orkg template ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg:::request_dtr("https://incubating.orkg.org//api/templates/R855534") at test-request_dtr.R:7:3 2. └─httr2::req_perform(req) 3. └─httr2:::handle_resp(req, resp, error_call = error_call) 4. └─httr2:::resp_abort(resp, req, body, call = error_call) 5. └─rlang::abort(...) ── Error ('test-to_jsonld.R:116:3'): to_jsonld writes an ORKG instance into JSONLD ── <httr2_http_404/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 404 Not Found. Backtrace: ▆ 1. └─dtreg::load_datatype("https://incubating.orkg.org/template/R855534") at test-to_jsonld.R:116:3 2. └─dtreg:::write_r6_classes(datatype_id) 3. └─selected_class$new()$get_schema_info(datatype_id) 4. └─dtreg:::extract_orkg(datatype_id) 5. └─dtreg (local) extractor_function(resource_id) 6. └─dtreg:::request_dtr(...) 7. └─httr2::req_perform(req) 8. └─httr2:::handle_resp(req, resp, error_call = error_call) 9. └─httr2:::resp_abort(resp, req, body, call = error_call) 10. └─rlang::abort(...) [ FAIL 6 | WARN 0 | SKIP 0 | PASS 27 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64