* using log directory ‘/Users/ripley/R/packages/tests-devel/hubUtils.Rcheck’ * using R Under development (unstable) (2025-12-22 r89219) * using platform: aarch64-apple-darwin25.2.0 * R was compiled by Apple clang version 17.0.0 (clang-1700.6.3.2) GNU Fortran (GCC) 14.2.0 * running under: macOS Tahoe 26.2 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘hubUtils’ can be installed ... OK * 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... 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 ... OK * checking Rd files ... 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 ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... OK * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [9s/21s] [9s/21s] ERROR 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") Saving _problems/test-utils-schema-2.R Saving _problems/test-utils-schema-13.R Saving _problems/test-utils-schema-20.R Saving _problems/test-utils-schema-27.R Saving _problems/test-utils-schema-41.R [ FAIL 5 | WARN 0 | SKIP 16 | PASS 28 ] ══ Skipped tests (16) ══════════════════════════════════════════════════════════ • On CRAN (15): 'test-as_model_out_tbl.R:1:1', 'test-as_model_out_tbl.R:58:1', 'test-check_deprecated_schema.R:1:1', 'test-check_deprecated_schema.R:12:1', 'test-model_id_merge.R:1:1', 'test-model_id_merge.R:63:1', 'test-model_id_merge.R:71:1', 'test-read_config.R:1:1', 'test-read_config.R:32:1', 'test-utils-round-config.R:1:1', 'test-utils-round-config.R:13:1', 'test-utils-round-config.R:32:1', 'test-utils-round-config.R:44:1', 'test-utils-round_ids.R:1:1', 'test-utils-round_ids.R:18:1' • arrow::arrow_with_s3() is not TRUE (1): 'test-read_config.R:22:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-utils-schema.R:2:3'): Schema URL created successfully ────────── Error in `httr2::resp_body_json(response)`: Unexpected content type "text/html". * Expecting type "application/json" or suffix "json". 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) ``(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. │ └─httr2::resp_body_json(response) 13. │ └─httr2::resp_check_content_type(...) 14. │ └─httr2:::check_content_type(...) 15. │ └─cli::cli_abort(...) 16. │ └─rlang::abort(...) 17. └─base::vapply(., "[[", "", "name") ── Error ('test-utils-schema.R:11:3'): Invalid branches fail successfully ────── Error in `httr2::resp_body_json(response)`: Unexpected content type "text/html". * Expecting type "application/json" or suffix "json". 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) ``(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. │ └─httr2::resp_body_json(response) 19. │ └─httr2::resp_check_content_type(...) 20. │ └─httr2:::check_content_type(...) 21. │ └─cli::cli_abort(...) 22. │ └─rlang::abort(...) 23. └─base::vapply(., "[[", "", "name") ── Error ('test-utils-schema.R:17:3'): Valid json schema versions detected successfully ── Error in `httr2::resp_body_json(response)`: Unexpected content type "text/html". * Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. ├─hubUtils (local) ``(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. │ └─httr2::resp_body_json(response) 7. │ └─httr2::resp_check_content_type(...) 8. │ └─httr2:::check_content_type(...) 9. │ └─cli::cli_abort(...) 10. │ └─rlang::abort(...) 11. └─base::vapply(., "[[", "", "name") ── Error ('test-utils-schema.R:24:3'): get_schema_version_latest works ───────── Error in `httr2::resp_body_json(response)`: Unexpected content type "text/html". * Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-utils-schema.R:24:3 2. │ └─testthat::quasi_label(enquo(object), label) 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) ``(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. │ └─httr2::resp_body_json(response) 16. │ └─httr2::resp_check_content_type(...) 17. │ └─httr2:::check_content_type(...) 18. │ └─cli::cli_abort(...) 19. │ └─rlang::abort(...) 20. ├─utils::tail(., 1) 21. ├─base::sort(.) 22. └─base::vapply(., "[[", "", "name") ── Error ('test-utils-schema.R:38:3'): validate_schema_version works ─────────── Error in `httr2::resp_body_json(response)`: Unexpected content type "text/html". * Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-utils-schema.R:38:3 2. │ └─testthat::quasi_label(enquo(object), label) 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) ``(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. │ └─httr2::resp_body_json(response) 15. │ └─httr2::resp_check_content_type(...) 16. │ └─httr2:::check_content_type(...) 17. │ └─cli::cli_abort(...) 18. │ └─rlang::abort(...) 19. └─base::vapply(., "[[", "", "name") [ FAIL 5 | WARN 0 | SKIP 16 | PASS 28 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/hubUtils.Rcheck/00check.log’ for details. 38.80 real 17.56 user 7.76 sys