Last updated on 2024-06-07 12:58:18 CEST.
Package | ERROR | OK |
---|---|---|
ready4 | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.1.9
Check: examples
Result: ERROR
Running examples in 'ready4-Ex.R' failed
The error most likely occurred in:
> ### Name: get_datasets_tb
> ### Title: Get datasets tibble
> ### Aliases: get_datasets_tb
> ### Keywords: internal
>
> ### ** Examples
>
> get_datasets_tb("ready4-dev/ready4")
Waiting 3s for retry backoff ■■■■■■■■■■■■■■
Waiting 3s for retry backoff ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
Waiting 3s for retry backoff ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
Error in `value[[3L]]()`:
! Cannot access release data for repo "ready4-dev/ready4".
Check that you have provided a `.token` and that the repo is correctly
specified.
Failed to perform HTTP request.
Backtrace:
▆
1. └─ready4::get_datasets_tb("ready4-dev/ready4")
2. └─piggyback::pb_download_url(...)
3. ├─piggyback:::pb_info(repo, tag, .token)
4. │ ├─base::withVisible(eval(mc, parent.frame()))
5. │ └─base::eval(mc, parent.frame())
6. │ └─base::eval(mc, parent.frame())
7. └─piggyback (local) `<fn>`(repo = repo, tag = tag, .token = .token)
8. ├─piggyback::pb_releases(repo = repo, .token = .token, verbose = FALSE)
9. │ ├─base::withVisible(eval(mc, parent.frame()))
10. │ └─base::eval(mc, parent.frame())
11. │ └─base::eval(mc, parent.frame())
12. └─piggyback (local) `<fn>`(repo = repo, .token = .token, verbose = FALSE)
13. └─base::tryCatch(...)
14. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
15. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
16. └─value[[3L]](cond)
17. └─cli::cli_abort(...)
18. └─rlang::abort(...)
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.1.9
Check: tests
Result: ERROR
Running 'testthat.R' [32s]
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(ready4)
>
> test_check("ready4")
[ FAIL 12 | WARN 0 | SKIP 0 | PASS 50 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-fn_get.R:2:3'): Tibble of modelling project data collections is retrieved from GitHub repository ──
Expected `dvs_tb <- get_datasets_tb("ready4-dev/ready4")` to run without any errors.
ℹ Actually got a <rlang_error> with text:
! Cannot access release data for repo "ready4-dev/ready4".
Check that you have provided a `.token` and that the repo is correctly
specified.
Failed to perform HTTP request.
── Error ('test-fn_get.R:3:3'): Tibble of modelling project data collections is retrieved from GitHub repository ──
Error in `eval(code, test_env)`: object 'dvs_tb' not found
Backtrace:
▆
1. ├─testthat::expect_true(tibble::is_tibble(dvs_tb)) at test-fn_get.R:3:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─tibble::is_tibble(dvs_tb)
── Failure ('test-fn_get.R:9:3'): Tibble of modelling project libraries is retrieved from GitHub repository ──
Expected `libraries_tb <- get_libraries_tb()` to run without any errors.
ℹ Actually got a <rlang_error> with text:
! Cannot access release data for repo "ready4-dev/ready4".
Check that you have provided a `.token` and that the repo is correctly
specified.
Failed to perform HTTP request.
── Error ('test-fn_get.R:10:3'): Tibble of modelling project libraries is retrieved from GitHub repository ──
Error in `eval(code, test_env)`: object 'libraries_tb' not found
Backtrace:
▆
1. ├─testthat::expect_true(tibble::is_tibble(libraries_tb)) at test-fn_get.R:10:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─tibble::is_tibble(libraries_tb)
── Failure ('test-fn_get.R:17:3'): Item retrieved correctly from lookup table ──
Expected `... <- NULL` to run without any errors.
ℹ Actually got a <rlang_error> with text:
! Cannot access release data for repo "ready4-dev/ready4".
Check that you have provided a `.token` and that the repo is correctly
specified.
Failed to perform HTTP request.
── Error ('test-fn_get.R:18:3'): Item retrieved correctly from lookup table ────
Error in `eval(code, test_env)`: object 'type_1L_chr' not found
Backtrace:
▆
1. └─testthat::expect_true(type_1L_chr == "Framework") at test-fn_get.R:18:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-fn_make.R:2:3'): Valid tibble of release history of ready4 framework libraries is generated ──
Expected `... <- NULL` to run without any errors.
ℹ Actually got a <rlang_error> with text:
! Cannot access release data for repo "ready4-dev/ready4".
Check that you have provided a `.token` and that the repo is correctly
specified.
Failed to perform HTTP request.
── Error ('test-fn_make.R:3:3'): Valid tibble of release history of ready4 framework libraries is generated ──
Error in `eval(code, test_env)`: object 'fw_tb' not found
Backtrace:
▆
1. ├─testthat::expect_true(tibble::is_tibble(fw_tb)) at test-fn_make.R:3:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─tibble::is_tibble(fw_tb)
── Failure ('test-fn_make.R:10:3'): Kable of release history of subroutines in a GitHub repository is generated ──
Expected `subroutines_kbl <- make_code_releases_tbl("Subroutine", gh_repo_1L_chr = "ready4-dev/ready4")` to run without any errors.
ℹ Actually got a <rlang_error> with text:
! Cannot access release data for repo "ready4-dev/ready4".
Check that you have provided a `.token` and that the repo is correctly
specified.
Failed to perform HTTP request.
── Error ('test-fn_make.R:11:3'): Kable of release history of subroutines in a GitHub repository is generated ──
Error in `eval(code, test_env)`: object 'subroutines_kbl' not found
Backtrace:
▆
1. └─testthat::expect_true(class(subroutines_kbl)[1] == "kableExtra") at test-fn_make.R:11:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-fn_make.R:15:3'): Valid tibble of release history of data collection is generated ──
Expected `dataset_tb <- make_ds_releases_tbl("10.7910/DVN/RIQTKK", as_kbl_1L_lgl = FALSE)` to run without any errors.
ℹ Actually got a <purrr_error_indexed> with text:
ℹ In index: 1.
Caused by error in `value[[3L]]()`:
! Could not retrieve Dataset ID from persistent identifier!
── Error ('test-fn_make.R:16:3'): Valid tibble of release history of data collection is generated ──
Error in `eval(code, test_env)`: object 'dataset_tb' not found
Backtrace:
▆
1. ├─testthat::expect_true(tibble::is_tibble(dataset_tb)) at test-fn_make.R:16:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─tibble::is_tibble(dataset_tb)
[ FAIL 12 | WARN 0 | SKIP 0 | PASS 50 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64