Last updated on 2026-08-04 02:50:56 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.5.1 | 3.40 | 51.89 | 55.29 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.6.0 | 2.64 | 42.41 | 45.05 | NOTE | |
| r-devel-linux-x86_64-fedora-clang | 0.6.0 | 56.08 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 0.6.0 | 39.90 | OK | |||
| r-devel-windows-x86_64 | 0.5.1 | 7.00 | 77.00 | 84.00 | OK | |
| r-patched-linux-x86_64 | 0.5.1 | 4.47 | 47.87 | 52.34 | OK | |
| r-release-linux-x86_64 | 0.5.1 | 2.49 | 46.83 | 49.32 | OK | |
| r-release-macos-arm64 | 0.6.0 | 1.00 | 131.00 | 132.00 | ERROR | |
| r-release-macos-x86_64 | 0.6.0 | 3.00 | 174.00 | 177.00 | ERROR | |
| r-release-windows-x86_64 | 0.5.1 | 7.00 | 80.00 | 87.00 | OK | |
| r-oldrel-macos-arm64 | 0.6.0 | 1.00 | 135.00 | 136.00 | ERROR | |
| r-oldrel-macos-x86_64 | 0.6.0 | 3.00 | 204.00 | 207.00 | ERROR | |
| r-oldrel-windows-x86_64 | 0.6.0 | 9.00 | 94.00 | 103.00 | OK |
Version: 0.6.0
Check: for new files in some other directories
Result: NOTE
Found the following files/directories:
‘~/tmp/scratch/Rtmp0W5O2V’ ‘~/tmp/scratch/Rtmp0Z5er7’
‘~/tmp/scratch/Rtmp1y5GZU’ ‘~/tmp/scratch/Rtmp3FhwVQ’
‘~/tmp/scratch/Rtmp4TpwRq’ ‘~/tmp/scratch/Rtmp4iQbIO’
‘~/tmp/scratch/Rtmp5sS3de’ ‘~/tmp/scratch/Rtmp5t4FUN’
‘~/tmp/scratch/Rtmp6jBwhV’ ‘~/tmp/scratch/Rtmp7MaFnA’
‘~/tmp/scratch/Rtmp7V3kFi’ ‘~/tmp/scratch/Rtmp8oN5OE’
‘~/tmp/scratch/Rtmp936Hce’ ‘~/tmp/scratch/Rtmp96EePw’
‘~/tmp/scratch/Rtmp9CnNb3’ ‘~/tmp/scratch/Rtmp9Sg1MA’
‘~/tmp/scratch/Rtmp9m1kOh’ ‘~/tmp/scratch/RtmpBHItDw’
‘~/tmp/scratch/RtmpC4cqQt’ ‘~/tmp/scratch/RtmpDHbgDD’
‘~/tmp/scratch/RtmpDIlXCN’ ‘~/tmp/scratch/RtmpDU8qfz’
‘~/tmp/scratch/RtmpEGtYye’ ‘~/tmp/scratch/RtmpEftVCN’
‘~/tmp/scratch/RtmpFlLLeN’ ‘~/tmp/scratch/RtmpG4N65v’
‘~/tmp/scratch/RtmpG7w1Ts’ ‘~/tmp/scratch/RtmpGwsy4N’
‘~/tmp/scratch/RtmpIF5D2A’ ‘~/tmp/scratch/RtmpIZUb4O’
‘~/tmp/scratch/RtmpIabsLl’ ‘~/tmp/scratch/RtmpJ4pieB’
‘~/tmp/scratch/RtmpJgu0Uq’ ‘~/tmp/scratch/RtmpJrgpm8’
‘~/tmp/scratch/RtmpKQoR5i’ ‘~/tmp/scratch/RtmpKiBqoG’
‘~/tmp/scratch/RtmpKnkmxD’ ‘~/tmp/scratch/RtmpKwuVHs’
‘~/tmp/scratch/RtmpLSiUFo’ ‘~/tmp/scratch/RtmpLZFP9T’
‘~/tmp/scratch/RtmpLkjL94’ ‘~/tmp/scratch/RtmpM3rnQg’
‘~/tmp/scratch/RtmpMBw5vm’ ‘~/tmp/scratch/RtmpMEiRMH’
‘~/tmp/scratch/RtmpMWdnzD’ ‘~/tmp/scratch/RtmpMuGaaf’
‘~/tmp/scratch/RtmpN6a6Ph’ ‘~/tmp/scratch/RtmpNK31FJ’
‘~/tmp/scratch/RtmpNmeq1U’ ‘~/tmp/scratch/RtmpNms6r1’
‘~/tmp/scratch/RtmpO8Z6Sl’ ‘~/tmp/scratch/RtmpOgI61D’
‘~/tmp/scratch/RtmpPH8Ulb’ ‘~/tmp/scratch/RtmpPI0G3K’
‘~/tmp/scratch/RtmpPyuZYZ’ ‘~/tmp/scratch/RtmpQZwTSw’
‘~/tmp/scratch/RtmpRSGvi7’ ‘~/tmp/scratch/RtmpRcfmQs’
‘~/tmp/scratch/RtmpSXCj2X’ ‘~/tmp/scratch/RtmpSjNn2u’
‘~/tmp/scratch/RtmpTDhwSA’ ‘~/tmp/scratch/RtmpTV3gQU’
‘~/tmp/scratch/RtmpTXnL2K’ ‘~/tmp/scratch/RtmpTdJCPk’
‘~/tmp/scratch/RtmpTmRgoo’ ‘~/tmp/scratch/RtmpUYG0wK’
‘~/tmp/scratch/RtmpUYWSnz’ ‘~/tmp/scratch/RtmpVG2GYC’
‘~/tmp/scratch/RtmpVcAaFC’ ‘~/tmp/scratch/RtmpWOm1pz’
‘~/tmp/scratch/RtmpWkwkMr’ ‘~/tmp/scratch/RtmpX5RxDB’
‘~/tmp/scratch/RtmpXISuNy’ ‘~/tmp/scratch/RtmpYCC58A’
‘~/tmp/scratch/RtmpYbaNMk’ ‘~/tmp/scratch/RtmpZ6ccfg’
‘~/tmp/scratch/RtmpZdxEaC’ ‘~/tmp/scratch/RtmpaFdH1A’
‘~/tmp/scratch/RtmpaKgtFe’ ‘~/tmp/scratch/RtmpaMdXjv’
‘~/tmp/scratch/RtmpbDhdaE’ ‘~/tmp/scratch/RtmpbMpq7t’
‘~/tmp/scratch/RtmpbYsmej’ ‘~/tmp/scratch/RtmpbkBiu3’
‘~/tmp/scratch/RtmpbrXa2G’ ‘~/tmp/scratch/Rtmpbw0unq’
‘~/tmp/scratch/RtmpdZvitQ’ ‘~/tmp/scratch/RtmpdmzXOI’
‘~/tmp/scratch/RtmpdnCyD4’ ‘~/tmp/scratch/RtmpeCw3lm’
‘~/tmp/scratch/RtmpeKEH6O’ ‘~/tmp/scratch/Rtmpfo2Qsl’
‘~/tmp/scratch/RtmpfqPWtt’ ‘~/tmp/scratch/RtmpfrYubT’
‘~/tmp/scratch/Rtmph7HTII’ ‘~/tmp/scratch/RtmphU7dyr’
‘~/tmp/scratch/RtmphdnUmF’ ‘~/tmp/scratch/Rtmpj1BNq6’
‘~/tmp/scratch/RtmpjO28H3’ ‘~/tmp/scratch/Rtmpjbf2st’
‘~/tmp/scratch/RtmpkETi6i’ ‘~/tmp/scratch/RtmpkSaznY’
‘~/tmp/scratch/RtmpoCEoyH’ ‘~/tmp/scratch/RtmpoLSBqW’
‘~/tmp/scratch/Rtmpogo6IG’ ‘~/tmp/scratch/Rtmpok9GMh’
‘~/tmp/scratch/RtmppvfYOl’ ‘~/tmp/scratch/RtmpqSqtNI’
‘~/tmp/scratch/RtmpqUuDkb’ ‘~/tmp/scratch/RtmprA2v7c’
‘~/tmp/scratch/Rtmps2Rgm7’ ‘~/tmp/scratch/RtmptK9jQY’
‘~/tmp/scratch/RtmptZItyy’ ‘~/tmp/scratch/RtmptrQqyu’
‘~/tmp/scratch/Rtmpu93q6L’ ‘~/tmp/scratch/RtmpuM7kAd’
‘~/tmp/scratch/RtmpuSLg7w’ ‘~/tmp/scratch/RtmpuovCAo’
‘~/tmp/scratch/Rtmpv9yMEc’ ‘~/tmp/scratch/RtmpvMhKso’
‘~/tmp/scratch/RtmpvUBhYw’ ‘~/tmp/scratch/RtmpvUtzMm’
‘~/tmp/scratch/RtmpwB9yVG’ ‘~/tmp/scratch/RtmpwgsPYr’
‘~/tmp/scratch/RtmpwxKBUr’ ‘~/tmp/scratch/RtmpxMKP0I’
‘~/tmp/scratch/RtmpxSSgwJ’ ‘~/tmp/scratch/RtmpxSV2sM’
‘~/tmp/scratch/RtmpxUNgFa’ ‘~/tmp/scratch/Rtmpy1OfKN’
‘~/tmp/scratch/RtmpyCp74P’ ‘~/tmp/scratch/Rtmpyv8VOR’
‘~/tmp/scratch/RtmpyzBqXF’ ‘~/tmp/scratch/RtmpzpYFh4’
‘~/tmp/scratch/Rtmpzu0IiK’ ‘~/tmp/scratch/xvfb-run.0Hb2eS’
‘~/tmp/scratch/xvfb-run.36V5ra’ ‘~/tmp/scratch/xvfb-run.3QUlCz’
‘~/tmp/scratch/xvfb-run.3RqLTz’ ‘~/tmp/scratch/xvfb-run.3Xwp80’
‘~/tmp/scratch/xvfb-run.42kZMd’ ‘~/tmp/scratch/xvfb-run.A13lCl’
‘~/tmp/scratch/xvfb-run.AprERf’ ‘~/tmp/scratch/xvfb-run.BvN6hW’
‘~/tmp/scratch/xvfb-run.C2wUxA’ ‘~/tmp/scratch/xvfb-run.C8pmWh’
‘~/tmp/scratch/xvfb-run.CLHwg3’ ‘~/tmp/scratch/xvfb-run.DjF2yC’
‘~/tmp/scratch/xvfb-run.E5kn21’ ‘~/tmp/scratch/xvfb-run.ELGJg8’
‘~/tmp/scratch/xvfb-run.FFPJLn’ ‘~/tmp/scratch/xvfb-run.FfvXZd’
‘~/tmp/scratch/xvfb-run.HA8mpV’ ‘~/tmp/scratch/xvfb-run.HO4L5a’
‘~/tmp/scratch/xvfb-run.LNr2EW’ ‘~/tmp/scratch/xvfb-run.MU2LLO’
‘~/tmp/scratch/xvfb-run.OoQqwu’ ‘~/tmp/scratch/xvfb-run.QnkzmM’
‘~/tmp/scratch/xvfb-run.S5hOio’ ‘~/tmp/scratch/xvfb-run.SbwXPC’
‘~/tmp/scratch/xvfb-run.T8uqy0’ ‘~/tmp/scratch/xvfb-run.Th8JAN’
‘~/tmp/scratch/xvfb-run.UJNa42’ ‘~/tmp/scratch/xvfb-run.UkfQtv’
‘~/tmp/scratch/xvfb-run.V00yN9’ ‘~/tmp/scratch/xvfb-run.XJOew4’
‘~/tmp/scratch/xvfb-run.YIiJk2’ ‘~/tmp/scratch/xvfb-run.Yowoc9’
‘~/tmp/scratch/xvfb-run.ZxQAgg’ ‘~/tmp/scratch/xvfb-run.ZxRcNL’
‘~/tmp/scratch/xvfb-run.eOfHnp’ ‘~/tmp/scratch/xvfb-run.edDnP8’
‘~/tmp/scratch/xvfb-run.f3OdmF’ ‘~/tmp/scratch/xvfb-run.g0r9Qe’
‘~/tmp/scratch/xvfb-run.hLn5it’ ‘~/tmp/scratch/xvfb-run.i7geba’
‘~/tmp/scratch/xvfb-run.iJXEEN’ ‘~/tmp/scratch/xvfb-run.j5QIua’
‘~/tmp/scratch/xvfb-run.ltE98A’ ‘~/tmp/scratch/xvfb-run.mqHmBb’
‘~/tmp/scratch/xvfb-run.nJhkn5’ ‘~/tmp/scratch/xvfb-run.q3NYxn’
‘~/tmp/scratch/xvfb-run.rhy9fw’ ‘~/tmp/scratch/xvfb-run.tMcyYZ’
‘~/tmp/scratch/xvfb-run.uEZfMX’ ‘~/tmp/scratch/xvfb-run.w728fd’
‘~/tmp/scratch/xvfb-run.wGTIuA’ ‘~/tmp/scratch/xvfb-run.wPRIbS’
‘~/tmp/scratch/xvfb-run.zNwz1A’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.6.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/113s]
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")
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
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.
v Pinned EFO to "November 2026".
v Unpinned EFO (was "November 2026").
[ FAIL 1 | WARN 1 | SKIP 54 | PASS 171 ]
══ Skipped tests (54) ══════════════════════════════════════════════════════════
• On CRAN (54): '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-headroom.R:12:3', 'test-headroom.R:31:3',
'test-monthly-profiles.R:22:3', 'test-monthly-profiles.R:51: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 54 | PASS 171 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-macos-arm64
Version: 0.6.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/117s]
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")
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
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.
v Pinned EFO to "November 2026".
v Unpinned EFO (was "November 2026").
[ FAIL 1 | WARN 1 | SKIP 54 | PASS 171 ]
══ Skipped tests (54) ══════════════════════════════════════════════════════════
• On CRAN (54): '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-headroom.R:12:3', 'test-headroom.R:31:3',
'test-monthly-profiles.R:22:3', 'test-monthly-profiles.R:51: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 54 | PASS 171 ]
Error:
! Test failures.
Execution halted
Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64
Version: 0.6.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [1s/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(obr)
>
> test_check("obr")
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
> Waiting 2s for retry backoff
> Waiting 4s for retry backoff
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.
v Pinned EFO to "November 2026".
v Unpinned EFO (was "November 2026").
[ FAIL 1 | WARN 1 | SKIP 54 | PASS 171 ]
══ Skipped tests (54) ══════════════════════════════════════════════════════════
• On CRAN (54): '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-headroom.R:12:3', 'test-headroom.R:31:3',
'test-monthly-profiles.R:22:3', 'test-monthly-profiles.R:51: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 54 | PASS 171 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-macos-arm64