Last updated on 2024-11-24 15:49:55 CET.
Package | ERROR | OK |
---|---|---|
dtreg | 8 | 5 |
Current CRAN status: ERROR: 8, OK: 5
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/7s]
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’ [5s/20s]
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_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-windows-x86_64, 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
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.