* using log directory 'd:/Rcompile/CRANpkg/local/4.5/ready4.Rcheck' * using R Under development (unstable) (2024-06-03 r86679 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'ready4/DESCRIPTION' ... OK * this is package 'ready4' version '0.1.9' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'ready4' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [8s] OK * checking Rd files ... [2s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [40s] 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) ``(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) ``(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 * checking for unstated dependencies in 'tests' ... OK * checking tests ... [32s] 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 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 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 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 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 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 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [48s] OK * checking PDF version of manual ... [24s] OK * checking HTML version of manual ... [21s] OK * DONE Status: 2 ERRORs