CRAN Package Check Results for Package dtreg

Last updated on 2024-11-22 03:52:34 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 4.22 30.42 34.64 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 3.00 24.18 27.18 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 57.61 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 72.43 OK
r-devel-windows-x86_64 1.0.0 5.00 54.00 59.00 ERROR
r-patched-linux-x86_64 1.0.0 4.40 29.01 33.41 OK
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 54.00 59.00 OK
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 OK

Check Details

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