- using R version 4.3.3 (2024-02-29 ucrt)
- using platform: x86_64-w64-mingw32 (64-bit)
- R was compiled by
gcc.exe (GCC) 12.3.0
GNU Fortran (GCC) 12.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'hubUtils/DESCRIPTION' ... OK
- this is package 'hubUtils' version '0.1.7'
- 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 'hubUtils' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package 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 R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] OK
- checking startup messages can be suppressed ... [1s] 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 ... [4s] OK
- checking Rd files ... [1s] 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking examples ... [3s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [141s] ERROR
Running 'testthat.R' [140s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(hubUtils)
>
> test_check("hubUtils")
The tzdb package is not installed. Timezones will not be available to Arrow compute functions.
[ FAIL 5 | WARN 0 | SKIP 16 | PASS 13 ]
══ Skipped tests (16) ══════════════════════════════════════════════════════════
• On CRAN (16): 'test-as_model_out_tbl.R:9:3', 'test-as_model_out_tbl.R:72:3',
'test-check_deprecated_schema.R:2:3', 'test-check_deprecated_schema.R:15:3',
'test-model_id_merge.R:4:3', 'test-model_id_merge.R:68:3',
'test-model_id_merge.R:77:3', 'test-read_config.R:2:3',
'test-read_config.R:23:3', 'test-read_config.R:33:3',
'test-utils-round-config.R:5:3', 'test-utils-round-config.R:17:3',
'test-utils-round-config.R:36:3', 'test-utils-round-config.R:48:3',
'test-utils-round_ids.R:4:3', 'test-utils-round_ids.R:21:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-utils-schema.R:2:3'): Schema URL created successfully ──────────
<github_error/http_error_403/rlang_error/error/condition>
Error in `gh("GET /repos/hubverse-org/schemas/branches")`: GitHub API error (403): API rate limit exceeded for 129.217.207.166. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
i Read more at <https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting>
Backtrace:
▆
1. ├─hubUtils::get_schema_url("tasks", "v0.0.1") at test-utils-schema.R:2:3
2. │ └─hubUtils:::validate_schema_version(version, branch = branch)
3. │ ├─hubUtils::get_schema_valid_versions(branch = branch)
4. │ │ ├─base::withVisible(eval(mc, parent.frame()))
5. │ │ └─base::eval(mc, parent.frame())
6. │ │ └─base::eval(mc, parent.frame())
7. │ └─hubUtils (local) `<fn>`(branch = branch)
8. │ ├─gh("GET /repos/hubverse-org/schemas/branches") %>% ...
9. │ └─gh::gh("GET /repos/hubverse-org/schemas/branches")
10. │ └─gh:::gh_make_request(req)
11. │ └─gh:::gh_error(resp, gh_req = x, error_call = error_call)
12. │ └─cli::cli_abort(...)
13. │ └─rlang::abort(...)
14. └─base::vapply(., "[[", "", "name")
── Error ('test-utils-schema.R:11:3'): Invalid branches fail successfully ──────
<github_error/http_error_403/rlang_error/error/condition>
Error in `gh("GET /repos/hubverse-org/schemas/branches")`: GitHub API error (403): API rate limit exceeded for 129.217.207.166. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
i Read more at <https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting>
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-utils-schema.R:11:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─hubUtils::get_schema_url("tasks", "v0.0.1", branch = "random-branch")
8. │ └─hubUtils:::validate_schema_version(version, branch = branch)
9. │ ├─hubUtils::get_schema_valid_versions(branch = branch)
10. │ │ ├─base::withVisible(eval(mc, parent.frame()))
11. │ │ └─base::eval(mc, parent.frame())
12. │ │ └─base::eval(mc, parent.frame())
13. │ └─hubUtils (local) `<fn>`(branch = branch)
14. │ ├─gh("GET /repos/hubverse-org/schemas/branches") %>% ...
15. │ └─gh::gh("GET /repos/hubverse-org/schemas/branches")
16. │ └─gh:::gh_make_request(req)
17. │ └─gh:::gh_error(resp, gh_req = x, error_call = error_call)
18. │ └─cli::cli_abort(...)
19. │ └─rlang::abort(...)
20. └─base::vapply(., "[[", "", "name")
── Error ('test-utils-schema.R:17:3'): Valid json schema versions detected successfully ──
<github_error/http_error_403/rlang_error/error/condition>
Error in `gh("GET /repos/hubverse-org/schemas/branches")`: GitHub API error (403): API rate limit exceeded for 129.217.207.166. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
i Read more at <https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting>
Backtrace:
▆
1. ├─hubUtils (local) `<fn>`(branch = "hubUtils-test")
2. │ ├─gh("GET /repos/hubverse-org/schemas/branches") %>% ...
3. │ └─gh::gh("GET /repos/hubverse-org/schemas/branches")
4. │ └─gh:::gh_make_request(req)
5. │ └─gh:::gh_error(resp, gh_req = x, error_call = error_call)
6. │ └─cli::cli_abort(...)
7. │ └─rlang::abort(...)
8. └─base::vapply(., "[[", "", "name")
── Error ('test-utils-schema.R:24:3'): get_schema_version_latest works ─────────
<github_error/http_error_403/rlang_error/error/condition>
Error in `gh("GET /repos/hubverse-org/schemas/branches")`: GitHub API error (403): API rate limit exceeded for 129.217.207.166. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
i Read more at <https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting>
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-utils-schema.R:24:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─hubUtils::get_schema_version_latest(branch = "hubUtils-test")
5. │ ├─... %>% utils::tail(1)
6. │ ├─hubUtils::get_schema_valid_versions(branch = branch)
7. │ │ ├─base::withVisible(eval(mc, parent.frame()))
8. │ │ └─base::eval(mc, parent.frame())
9. │ │ └─base::eval(mc, parent.frame())
10. │ └─hubUtils (local) `<fn>`(branch = branch)
11. │ ├─gh("GET /repos/hubverse-org/schemas/branches") %>% ...
12. │ └─gh::gh("GET /repos/hubverse-org/schemas/branches")
13. │ └─gh:::gh_make_request(req)
14. │ └─gh:::gh_error(resp, gh_req = x, error_call = error_call)
15. │ └─cli::cli_abort(...)
16. │ └─rlang::abort(...)
17. ├─utils::tail(., 1)
18. ├─base::sort(.)
19. └─base::vapply(., "[[", "", "name")
── Error ('test-utils-schema.R:38:3'): validate_schema_version works ───────────
<github_error/http_error_403/rlang_error/error/condition>
Error in `gh("GET /repos/hubverse-org/schemas/branches")`: GitHub API error (403): API rate limit exceeded for 129.217.207.166. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
i Read more at <https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting>
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-utils-schema.R:38:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─hubUtils:::validate_schema_version("v0.0.0.9", branch = "hubUtils-test")
5. │ ├─hubUtils::get_schema_valid_versions(branch = branch)
6. │ │ ├─base::withVisible(eval(mc, parent.frame()))
7. │ │ └─base::eval(mc, parent.frame())
8. │ │ └─base::eval(mc, parent.frame())
9. │ └─hubUtils (local) `<fn>`(branch = branch)
10. │ ├─gh("GET /repos/hubverse-org/schemas/branches") %>% ...
11. │ └─gh::gh("GET /repos/hubverse-org/schemas/branches")
12. │ └─gh:::gh_make_request(req)
13. │ └─gh:::gh_error(resp, gh_req = x, error_call = error_call)
14. │ └─cli::cli_abort(...)
15. │ └─rlang::abort(...)
16. └─base::vapply(., "[[", "", "name")
[ FAIL 5 | WARN 0 | SKIP 16 | PASS 13 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [17s] OK
- checking HTML version of manual ... [4s] OK
- DONE
Status: 1 ERROR