Last updated on 2024-08-25 03:49:22 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.7.4 | 4.33 | 44.90 | 49.23 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.7.4 | 3.13 | 48.70 | 51.83 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.7.4 | 117.00 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 0.7.4 | 123.11 | NOTE | |||
r-devel-windows-x86_64 | 0.7.4 | 5.00 | 92.00 | 97.00 | OK | |
r-patched-linux-x86_64 | 0.7.4 | 4.32 | 62.92 | 67.24 | OK | |
r-release-linux-x86_64 | 0.7.3 | 4.31 | 62.93 | 67.24 | OK | |
r-release-macos-arm64 | 0.7.4 | 59.00 | OK | |||
r-release-macos-x86_64 | 0.7.4 | 104.00 | OK | |||
r-release-windows-x86_64 | 0.7.4 | 7.00 | 94.00 | 101.00 | OK | |
r-oldrel-macos-arm64 | 0.7.4 | 72.00 | OK | |||
r-oldrel-macos-x86_64 | 0.7.4 | 94.00 | OK | |||
r-oldrel-windows-x86_64 | 0.7.4 | 8.00 | 99.00 | 107.00 | OK |
Version: 0.7.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(statnipokladna)
>
> test_check("statnipokladna")
trying URL 'https://monitor.statnipokladna.cz/data/extrakty/csv/FinM/2022_12_Data_CSUIS_FINM.zip'
Content type 'application/zip' length 22564887 bytes (21.5 MB)
downloaded 255 KB
[ FAIL 1 | WARN 2 | SKIP 3 | PASS 18 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-codelists.R:20:3', 'test-codelists.R:28:3',
'test-datasets.R:18:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-tables.R:14:3'): get_table works with newer files ──────────────
<purrr_error_indexed/rlang_error/error/condition>
Error in `purrr::map2_chr(years_months$y, years_months$m, ~get_one_dataset(dataset_id,
.x, .y, dest_dir = dest_dir, redownload = redownload))`: ℹ In index: 1.
Caused by error in `utils::download.file()`:
! download from 'https://monitor.statnipokladna.cz/data/extrakty/csv/FinM/2022_12_Data_CSUIS_FINM.zip' failed
Backtrace:
▆
1. ├─testthat::expect_gt(...) at test-tables.R:14:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::nrow(sp_get_table("budget-local", "2022", "12"))
5. ├─statnipokladna::sp_get_table("budget-local", "2022", "12")
6. │ └─statnipokladna::sp_get_dataset(...)
7. │ └─purrr::map2_chr(...)
8. │ └─purrr:::map2_("character", .x, .y, .f, ..., .progress = .progress)
9. │ ├─purrr:::with_indexed_errors(...)
10. │ │ └─base::withCallingHandlers(...)
11. │ ├─purrr:::call_with_cleanup(...)
12. │ └─statnipokladna (local) .f(.x[[i]], .y[[i]], ...)
13. │ └─statnipokladna (local) get_one_dataset(dataset_id, .x, .y, dest_dir = dest_dir, redownload = redownload)
14. │ └─utils::download.file(dataset_url, tf, headers = c(`User-Agent` = usr))
15. └─base::.handleSimpleError(...)
16. └─purrr (local) h(simpleError(msg, call))
17. └─cli::cli_abort(...)
18. └─rlang::abort(...)
[ FAIL 1 | WARN 2 | SKIP 3 | PASS 18 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.7.4
Check: data for non-ASCII characters
Result: NOTE
Note: found 57 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc