CRAN Package Check Results for Package obr

Last updated on 2026-07-28 01:51:17 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.5 2.28 28.01 30.29 OK
r-devel-linux-x86_64-debian-gcc 0.2.5 1.63 23.04 24.67 OK
r-devel-linux-x86_64-fedora-clang 0.5.1 66.40 OK
r-devel-linux-x86_64-fedora-gcc 0.2.5 18.79 OK
r-devel-windows-x86_64 0.2.5 4.00 52.00 56.00 OK
r-patched-linux-x86_64 0.2.5 2.52 24.56 27.08 OK
r-release-linux-x86_64 0.2.5 2.01 24.72 26.73 OK
r-release-macos-arm64 0.5.1 1.00 34.00 35.00 ERROR
r-release-macos-x86_64 0.5.1 3.00 119.00 122.00 ERROR
r-release-windows-x86_64 0.2.5 5.00 52.00 57.00 OK
r-oldrel-macos-arm64 0.5.1 1.00 37.00 38.00 ERROR
r-oldrel-macos-x86_64 0.2.5 2.00 35.00 37.00 OK
r-oldrel-windows-x86_64 0.2.5 6.00 55.00 61.00 OK

Check Details

Version: 0.5.1
Check: tests
Result: ERROR Running ‘testthat.R’ [1s/15s] 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(obr) > > test_check("obr") i Downloading 'policy_measures_database.xlsx' from OBR... > Waiting 2s for retry backoff > Waiting 4s for retry backoff > Waiting 8s for retry backoff Saving _problems/test-policy-measures-12.R Removed 0 cached files. [ FAIL 1 | WARN 1 | SKIP 50 | PASS 152 ] ══ Skipped tests (50) ══════════════════════════════════════════════════════════ • On CRAN (50): 'test-compare.R:16:3', 'test-compare.R:42:3', 'test-compare.R:62:3', 'test-compare.R:87:3', 'test-compare.R:98:3', 'test-compare.R:107:3', 'test-compare.R:118:3', 'test-efo-table.R:39:3', 'test-efo-table.R:51:3', 'test-efo-table.R:63:3', 'test-efo-table.R:76:3', 'test-efo-table.R:87:3', 'test-efo-table.R:99:3', 'test-efo-table.R:109:3', 'test-efo-table.R:118:3', 'test-efo-table.R:129:3', 'test-efo-table.R:140:3', 'test-efo-table.R:149:3', 'test-efo-table.R:161:3', 'test-efo.R:24:3', 'test-efo.R:46:3', 'test-efo.R:57:3', 'test-efo.R:76:3', 'test-efo.R:97:3', 'test-efo.R:111:3', 'test-efo.R:127:3', 'test-forecast-panel.R:20:3', 'test-forecast-revisions.R:7:3', 'test-forecast-revisions.R:33:3', 'test-forecasts.R:23:3', 'test-forecasts.R:42:3', 'test-forecasts.R:53:3', 'test-forecasts.R:67:3', 'test-policy-measures.R:18:3', 'test-policy-measures.R:36:3', 'test-policy-measures.R:44:3', 'test-policy-measures.R:57:3', 'test-public-finances.R:6:3', 'test-public-finances.R:24:3', 'test-public-finances.R:37:3', 'test-public-finances.R:50:3', 'test-public-finances.R:66:3', 'test-public-finances.R:80:3', 'test-public-finances.R:91:3', 'test-vintages.R:103:3', 'test-welfare.R:6:3', 'test-welfare.R:25:3', 'test-welfare.R:33:3', 'test-welfare.R:47:3', 'test-welfare.R:66:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-policy-measures.R:11:3'): get_policy_measures() errors on bad search/since ── Error: Failed to download <https://obr.uk/download/policy-measures-database-march-2025/>. x HTTP 403 Forbidden. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-policy-measures.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. └─obr::get_policy_measures(search = c("a", "b")) 8. └─obr:::pmd_source(refresh) 9. └─obr:::obr_get_xlsx(...) 10. └─obr:::obr_fetch(url, filename, refresh = refresh) 11. └─base::tryCatch(...) 12. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 13. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14. └─value[[3L]](cond) 15. └─cli::cli_abort(...) 16. └─rlang::abort(...) [ FAIL 1 | WARN 1 | SKIP 50 | PASS 152 ] Error: ! Test failures. Execution halted Flavor: r-release-macos-arm64

Version: 0.5.1
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/22s] 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(obr) > > test_check("obr") i Downloading 'policy_measures_database.xlsx' from OBR... > Waiting 2s for retry backoff > Waiting 4s for retry backoff > Waiting 8s for retry backoff Saving _problems/test-policy-measures-12.R Removed 0 cached files. [ FAIL 1 | WARN 1 | SKIP 50 | PASS 152 ] ══ Skipped tests (50) ══════════════════════════════════════════════════════════ • On CRAN (50): 'test-compare.R:16:3', 'test-compare.R:42:3', 'test-compare.R:62:3', 'test-compare.R:87:3', 'test-compare.R:98:3', 'test-compare.R:107:3', 'test-compare.R:118:3', 'test-efo-table.R:39:3', 'test-efo-table.R:51:3', 'test-efo-table.R:63:3', 'test-efo-table.R:76:3', 'test-efo-table.R:87:3', 'test-efo-table.R:99:3', 'test-efo-table.R:109:3', 'test-efo-table.R:118:3', 'test-efo-table.R:129:3', 'test-efo-table.R:140:3', 'test-efo-table.R:149:3', 'test-efo-table.R:161:3', 'test-efo.R:24:3', 'test-efo.R:46:3', 'test-efo.R:57:3', 'test-efo.R:76:3', 'test-efo.R:97:3', 'test-efo.R:111:3', 'test-efo.R:127:3', 'test-forecast-panel.R:20:3', 'test-forecast-revisions.R:7:3', 'test-forecast-revisions.R:33:3', 'test-forecasts.R:23:3', 'test-forecasts.R:42:3', 'test-forecasts.R:53:3', 'test-forecasts.R:67:3', 'test-policy-measures.R:18:3', 'test-policy-measures.R:36:3', 'test-policy-measures.R:44:3', 'test-policy-measures.R:57:3', 'test-public-finances.R:6:3', 'test-public-finances.R:24:3', 'test-public-finances.R:37:3', 'test-public-finances.R:50:3', 'test-public-finances.R:66:3', 'test-public-finances.R:80:3', 'test-public-finances.R:91:3', 'test-vintages.R:103:3', 'test-welfare.R:6:3', 'test-welfare.R:25:3', 'test-welfare.R:33:3', 'test-welfare.R:47:3', 'test-welfare.R:66:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-policy-measures.R:11:3'): get_policy_measures() errors on bad search/since ── Error: Failed to download <https://obr.uk/download/policy-measures-database-march-2025/>. x HTTP 403 Forbidden. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-policy-measures.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. └─obr::get_policy_measures(search = c("a", "b")) 8. └─obr:::pmd_source(refresh) 9. └─obr:::obr_get_xlsx(...) 10. └─obr:::obr_fetch(url, filename, refresh = refresh) 11. └─base::tryCatch(...) 12. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 13. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14. └─value[[3L]](cond) 15. └─cli::cli_abort(...) 16. └─rlang::abort(...) [ FAIL 1 | WARN 1 | SKIP 50 | PASS 152 ] Error: ! Test failures. Execution halted Flavor: r-release-macos-x86_64

Version: 0.5.1
Check: tests
Result: ERROR Running ‘testthat.R’ [1s/19s] 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(obr) > > test_check("obr") i Downloading 'policy_measures_database.xlsx' from OBR... > Waiting 2s for retry backoff > Waiting 4s for retry backoff > Waiting 8s for retry backoff Saving _problems/test-policy-measures-12.R Removed 0 cached files. [ FAIL 1 | WARN 1 | SKIP 50 | PASS 152 ] ══ Skipped tests (50) ══════════════════════════════════════════════════════════ • On CRAN (50): 'test-compare.R:16:3', 'test-compare.R:42:3', 'test-compare.R:62:3', 'test-compare.R:87:3', 'test-compare.R:98:3', 'test-compare.R:107:3', 'test-compare.R:118:3', 'test-efo-table.R:39:3', 'test-efo-table.R:51:3', 'test-efo-table.R:63:3', 'test-efo-table.R:76:3', 'test-efo-table.R:87:3', 'test-efo-table.R:99:3', 'test-efo-table.R:109:3', 'test-efo-table.R:118:3', 'test-efo-table.R:129:3', 'test-efo-table.R:140:3', 'test-efo-table.R:149:3', 'test-efo-table.R:161:3', 'test-efo.R:24:3', 'test-efo.R:46:3', 'test-efo.R:57:3', 'test-efo.R:76:3', 'test-efo.R:97:3', 'test-efo.R:111:3', 'test-efo.R:127:3', 'test-forecast-panel.R:20:3', 'test-forecast-revisions.R:7:3', 'test-forecast-revisions.R:33:3', 'test-forecasts.R:23:3', 'test-forecasts.R:42:3', 'test-forecasts.R:53:3', 'test-forecasts.R:67:3', 'test-policy-measures.R:18:3', 'test-policy-measures.R:36:3', 'test-policy-measures.R:44:3', 'test-policy-measures.R:57:3', 'test-public-finances.R:6:3', 'test-public-finances.R:24:3', 'test-public-finances.R:37:3', 'test-public-finances.R:50:3', 'test-public-finances.R:66:3', 'test-public-finances.R:80:3', 'test-public-finances.R:91:3', 'test-vintages.R:103:3', 'test-welfare.R:6:3', 'test-welfare.R:25:3', 'test-welfare.R:33:3', 'test-welfare.R:47:3', 'test-welfare.R:66:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-policy-measures.R:11:3'): get_policy_measures() errors on bad search/since ── Error: Failed to download <https://obr.uk/download/policy-measures-database-march-2025/>. x HTTP 403 Forbidden. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-policy-measures.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. └─obr::get_policy_measures(search = c("a", "b")) 8. └─obr:::pmd_source(refresh) 9. └─obr:::obr_get_xlsx(...) 10. └─obr:::obr_fetch(url, filename, refresh = refresh) 11. └─base::tryCatch(...) 12. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 13. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14. └─value[[3L]](cond) 15. └─cli::cli_abort(...) 16. └─rlang::abort(...) [ FAIL 1 | WARN 1 | SKIP 50 | PASS 152 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-macos-arm64