Running 'testthat.R' [137s]
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