CRAN Package Check Results for Maintainer ‘Matthew Hamilton <matthew.hamilton1 at monash.edu>’

Last updated on 2024-05-07 06:56:41 CEST.

Package ERROR OK
ready4 1 12

Package ready4

Current CRAN status: ERROR: 1, OK: 12

Version: 0.1.9
Check: tests
Result: ERROR Running 'testthat.R' [115s] 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 5 | WARN 1 | SKIP 0 | PASS 49 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── 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 <httr2_failure> with text: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached: [api.github.com] Failed to connect to api.github.com port 443 after 10004 ms: Timeout was reached ── 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:27:3'): Valid transformations of tibble of modelling project data collections ── Expected `dvs_tb <- get_datasets_tb("ready4-dev/ready4")` to run without any errors. ℹ Actually got a <simpleError> with text: cannot open the connection to 'https://github.com/ready4-dev/ready4/releases/download/Documentation_0.0/datasets_tb.RDS' ── Failure ('test-fn_make.R:28:3'): Valid transformations of tibble of modelling project data collections ── Expected `dvs_2_tb <- make_datasets_tb("ready4", dvs_tb = dvs_tb)` to run without any errors. ℹ Actually got a <simpleError> with text: object 'dvs_tb' not found ── Error ('test-fn_make.R:29:3'): Valid transformations of tibble of modelling project data collections ── Error in `eval(code, test_env)`: object 'dvs_2_tb' not found Backtrace: ▆ 1. ├─testthat::expect_true(tibble::is_tibble(dvs_2_tb)) at test-fn_make.R:29:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─tibble::is_tibble(dvs_2_tb) [ FAIL 5 | WARN 1 | SKIP 0 | PASS 49 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64