Last updated on 2026-11-12 15:01:08 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.0.2 | 3.70 | 46.79 | 50.49 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.0.2 | 2.52 | 37.07 | 39.59 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.0.2 | 33.25 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 1.0.2 | 38.40 | OK | |||
| r-devel-windows-x86_64 | 1.0.2 | 6.00 | 394.00 | 400.00 | ERROR | |
| r-patched-linux-x86_64 | 1.0.2 | 2.91 | 40.78 | 43.69 | OK | |
| r-release-linux-x86_64 | 1.0.2 | 3.39 | 41.26 | 44.65 | OK | |
| r-release-macos-arm64 | 1.0.2 | 1.00 | 49.00 | 50.00 | OK | |
| r-release-macos-x86_64 | 1.0.2 | 3.00 | 93.00 | 96.00 | OK | |
| r-release-windows-x86_64 | 1.0.2 | 7.00 | 84.00 | 91.00 | OK | |
| r-oldrel-macos-arm64 | 1.0.2 | OK | ||||
| r-oldrel-macos-x86_64 | 1.0.2 | 3.00 | 88.00 | 91.00 | OK | |
| r-oldrel-windows-x86_64 | 1.0.2 | 9.00 | 97.00 | 106.00 | OK |
Version: 1.0.2
Check: examples
Result: ERROR
Running examples in 'OCSdata-Ex.R' failed
The error most likely occurred in:
> ### Name: extra_data
> ### Title: Download Open Case Study Extra Data
> ### Aliases: extra_data
>
> ### ** Examples
>
> tmp = tempfile()
> dir.create(tmp)
> extra_data('ocs-bp-opioid-rural-urban', outpath = tmp)
Error: Please install xml2 package
Execution halted
Flavor: r-devel-windows-x86_64
Version: 1.0.2
Check: tests
Result: ERROR
Running 'testthat.R' [309s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(OCSdata)
>
> test_check("OCSdata")
Saving _problems/test-extra_data-4.R
Saving _problems/test-imported_data-4.R
Saving _problems/test-raw_data-4.R
Saving _problems/test-simpler_import_data-4.R
Saving _problems/test-wrangled_csv-4.R
Saving _problems/test-wrangled_rda-4.R
v Downloading from
<https://github.com/opencasestudies/ocs-bp-co2-emissions/zipball/HEAD>.
i Retrying download ... attempt 2.
i Retrying download ... attempt 3.
Saving _problems/test-zip_ocs-4.R
[ FAIL 7 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-extra_data.R:4:3'): extra_data works ───────────────────────────
Error: Please install xml2 package
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-extra_data.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─OCSdata::extra_data("ocs-bp-opioid-rural-urban", outpath = tmp)
5. └─httr::content(repo)
6. └─httr:::parse_auto(raw, type, encoding, ...)
7. └─httr (local) parser(x = content, type = type, encoding = encoding, ...)
8. └─httr:::need_package("xml2")
── Error ('test-imported_data.R:4:3'): imported_data works ─────────────────────
Error: Please install xml2 package
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-imported_data.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─OCSdata::imported_data("ocs-bp-opioid-rural-urban", outpath = tmp)
5. └─httr::content(repo)
6. └─httr:::parse_auto(raw, type, encoding, ...)
7. └─httr (local) parser(x = content, type = type, encoding = encoding, ...)
8. └─httr:::need_package("xml2")
── Error ('test-raw_data.R:4:3'): raw_data works ───────────────────────────────
Error: Please install xml2 package
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-raw_data.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─OCSdata::raw_data("ocs-bp-opioid-rural-urban", outpath = tmp)
5. └─httr::content(repo)
6. └─httr:::parse_auto(raw, type, encoding, ...)
7. └─httr (local) parser(x = content, type = type, encoding = encoding, ...)
8. └─httr:::need_package("xml2")
── Error ('test-simpler_import_data.R:4:3'): simpler_import_data works ─────────
Error: Please install xml2 package
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-simpler_import_data.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─OCSdata::simpler_import_data("ocs-bp-opioid-rural-urban", outpath = tmp)
5. └─httr::content(repo)
6. └─httr:::parse_auto(raw, type, encoding, ...)
7. └─httr (local) parser(x = content, type = type, encoding = encoding, ...)
8. └─httr:::need_package("xml2")
── Error ('test-wrangled_csv.R:4:3'): wrangled_csv works ───────────────────────
Error: Please install xml2 package
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-wrangled_csv.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─OCSdata::wrangled_csv("ocs-bp-opioid-rural-urban", outpath = tmp)
5. └─httr::content(repo)
6. └─httr:::parse_auto(raw, type, encoding, ...)
7. └─httr (local) parser(x = content, type = type, encoding = encoding, ...)
8. └─httr:::need_package("xml2")
── Error ('test-wrangled_rda.R:4:3'): wrangled_rda works ───────────────────────
Error: Please install xml2 package
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-wrangled_rda.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─OCSdata::wrangled_rda("ocs-bp-opioid-rural-urban", outpath = tmp)
5. └─httr::content(repo)
6. └─httr:::parse_auto(raw, type, encoding, ...)
7. └─httr (local) parser(x = content, type = type, encoding = encoding, ...)
8. └─httr:::need_package("xml2")
── Error ('test-zip_ocs.R:4:3'): zip_ocs works ─────────────────────────────────
<curl_error_http_returned_error/curl_error/error/condition>
Error in `curl::curl_download(url = url, destfile = destfile, quiet = quiet, mode = mode, handle = handle)`: HTTP response code said error [github.com]:
The requested URL returned error: 503
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-zip_ocs.R:4:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─OCSdata::zip_ocs("ocs-bp-co2-emissions", outpath = tmp)
5. └─usethis::use_zip(...)
6. └─usethis:::tidy_download(url, destdir)
7. └─usethis:::download_url(url, destfile = tmp)
[ FAIL 7 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64