- using R Under development (unstable) (2025-12-05 r89107)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-9) 15.2.0
GNU Fortran (Debian 15.2.0-9) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘getRad/DESCRIPTION’ ... OK
- this is package ‘getRad’ version ‘0.2.3’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/1s] OK
- checking package namespace information ... OK
- checking package dependencies ... WARNING
Cannot process vignettes
Packages suggested but not available for checking:
'keyring', 'knitr', 'leaflet'
VignetteBuilder package required for checking but not installed: ‘knitr’
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘getRad’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking whether startup messages can be suppressed ... [1s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [7s/10s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/2s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [89s/146s] ERROR
Running ‘testthat.R’ [89s/146s]
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(getRad)
>
> test_check("getRad")
Saving _problems/test-secrets-6.R
Saving _problems/test-secrets-22.R
Saving _problems/test-secrets-33.R
Saving _problems/test-secrets-50.R
Saving _problems/test-secrets-61.R
[ FAIL 6 | WARN 0 | SKIP 69 | PASS 48 ]
══ Skipped tests (69) ══════════════════════════════════════════════════════════
• Because no key for Denmark is available in the testing environment (1):
'test-get_pvol_dk.R:3:3'
• On CRAN (68): 'test-get_pvol.R:52:3', 'test-get_pvol.R:70:3',
'test-get_pvol.R:97:3', 'test-get_pvol.R:132:3', 'test-get_pvol.R:154:3',
'test-get_pvol_cz.R:2:3', 'test-get_pvol_cz.R:24:3',
'test-get_pvol_de.R:2:3', 'test-get_pvol_de.R:17:3',
'test-get_pvol_ee.R:2:3', 'test-get_pvol_fi.R:2:3', 'test-get_pvol_nl.R:2:3',
'test-get_pvol_nl.R:25:3', 'test-get_pvol_nl.R:58:3',
'test-get_pvol_ro.R:2:3', 'test-get_pvol_ro.R:17:3',
'test-get_pvol_se.R:24:3', 'test-get_pvol_se.R:36:3',
'test-get_pvol_se.R:52:3', 'test-get_pvol_sk.R:2:3',
'test-get_pvol_sk.R:19:3', 'test-get_pvol_us.R:5:3',
'test-get_pvol_us.R:15:3', 'test-get_pvol_us.R:37:3',
'test-get_pvol_us.R:46:3', 'test-get_vpts.R:2:3', 'test-get_vpts.R:78:3',
'test-get_vpts.R:104:3', 'test-get_vpts.R:126:3', 'test-get_vpts.R:145:3',
'test-get_vpts.R:193:3', 'test-get_vpts.R:253:3', 'test-get_vpts.R:270:3',
'test-get_vpts.R:330:3', 'test-get_vpts.R:351:3', 'test-get_vpts.R:385:3',
'test-get_vpts.R:421:3', 'test-get_vpts.R:458:3', 'test-get_vpts.R:569:3',
'test-get_vpts.R:608:3', 'test-get_vpts.R:628:3',
'test-get_vpts_aloft.R:72:3', 'test-get_vpts_coverage.R:14:3',
'test-get_vpts_coverage.R:23:3', 'test-get_vpts_coverage.R:33:3',
'test-get_vpts_coverage_aloft.R:2:3', 'test-get_vpts_coverage_aloft.R:11:3',
'test-get_vpts_coverage_rmi.R:2:3', 'test-get_vpts_coverage_rmi.R:8:3',
'test-get_vpts_coverage_rmi.R:23:3', 'test-get_vpts_coverage_rmi.R:49:3',
'test-get_vpts_coverage_rmi.R:58:3', 'test-get_vpts_rmi.R:2:3',
'test-get_vpts_rmi.R:23:3', 'test-get_vpts_rmi.R:67:3',
'test-get_vpts_rmi.R:89:3', 'test-get_vpts_rmi.R:104:3',
'test-get_weather_radars.R:21:3', 'test-get_weather_radars.R:26:3',
'test-get_weather_radars.R:35:3', 'test-get_weather_radars.R:88:3',
'test-get_weather_radars.R:133:3', 'test-get_weather_radars.R:178:3',
'test-get_weather_radars.R:196:3', 'test-get_weather_radars.R:238:3',
'test-get_weather_radars.R:269:3', 'test-utils-rmi.R:1:1',
'test-utils.R:21:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-secrets.R:3:5'): get_secret fails correctly ────────────────────
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `get_secret(c("unknown_secret", "unknown_secret2"))`: The package "keyring" is required to manage secrets in getRad
Backtrace:
▆
1. ├─withr::with_options(...) at test-secrets.R:2:3
2. │ └─base::force(code)
3. ├─testthat::expect_error(...) at test-secrets.R:3:5
4. │ └─testthat:::expect_condition_matching_(...)
5. │ └─testthat:::quasi_capture(...)
6. │ ├─testthat (local) .capture(...)
7. │ │ └─base::withCallingHandlers(...)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─getRad::get_secret(c("unknown_secret", "unknown_secret2"))
10. └─rlang::check_installed("keyring", "to manage secrets in getRad")
── Error ('test-secrets.R:19:3'): set_secret fails correctly ───────────────────
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `set_secret(c("unknown_secret", "unknown_secret2"))`: The package "keyring" is required to manage secrets in getRad
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-secrets.R:19: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. └─getRad::set_secret(c("unknown_secret", "unknown_secret2"))
8. └─rlang::check_installed("keyring", "to manage secrets in getRad")
── Error ('test-secrets.R:30:5'): Fails correctly when getRad.key_prefix is not set ──
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `set_secret("dk_api_key", secret = "empty")`: The package "keyring" is required to manage secrets in getRad
Backtrace:
▆
1. ├─withr::with_options(...) at test-secrets.R:29:3
2. │ └─base::force(code)
3. ├─testthat::expect_error(...) at test-secrets.R:30:5
4. │ └─testthat:::expect_condition_matching_(...)
5. │ └─testthat:::quasi_capture(...)
6. │ ├─testthat (local) .capture(...)
7. │ │ └─base::withCallingHandlers(...)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─getRad::set_secret("dk_api_key", secret = "empty")
10. └─rlang::check_installed("keyring", "to manage secrets in getRad")
── Error ('test-secrets.R:42:5'): set_secret informs where to get secret ───────
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `set_secret("dk_api_key", "asdf")`: The package "keyring" is required to manage secrets in getRad
Backtrace:
▆
1. ├─withr::with_options(...) at test-secrets.R:41:3
2. │ └─base::force(code)
3. ├─testthat::expect_silent(set_secret("dk_api_key", "asdf")) at test-secrets.R:42:5
4. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
5. │ ├─testthat (local) .capture(...)
6. │ │ ├─withr::with_output_sink(...)
7. │ │ │ └─base::force(code)
8. │ │ ├─base::withCallingHandlers(...)
9. │ │ └─base::withVisible(code)
10. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
11. └─getRad::set_secret("dk_api_key", "asdf")
12. └─rlang::check_installed("keyring", "to manage secrets in getRad")
── Error ('test-secrets.R:50:5'): setting and retrieving keys works ────────────
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `set_secret("nl_api_key", "asdfasdf")`: The package "keyring" is required to manage secrets in getRad
Backtrace:
▆
1. ├─withr::with_options(...) at test-secrets.R:49:3
2. │ └─base::force(code)
3. ├─testthat::expect_true(set_secret("nl_api_key", "asdfasdf")) at test-secrets.R:50:5
4. │ └─testthat::quasi_label(enquo(object), label)
5. │ └─rlang::eval_bare(expr, quo_get_env(quo))
6. └─getRad::set_secret("nl_api_key", "asdfasdf")
7. └─rlang::check_installed("keyring", "to manage secrets in getRad")
── Error ('test-secrets.R:61:7'): setting and retrieving keys works with getRad.key_prefix ──
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `set_secret("nl_api_key", "asdfasdf")`: The package "keyring" is required to manage secrets in getRad
Backtrace:
▆
1. ├─withr::with_options(...) at test-secrets.R:58:3
2. │ └─base::force(code)
3. ├─testthat::expect_true(set_secret("nl_api_key", "asdfasdf")) at test-secrets.R:61:7
4. │ └─testthat::quasi_label(enquo(object), label)
5. │ └─rlang::eval_bare(expr, quo_get_env(quo))
6. └─getRad::set_secret("nl_api_key", "asdfasdf")
7. └─rlang::check_installed("keyring", "to manage secrets in getRad")
[ FAIL 6 | WARN 0 | SKIP 69 | PASS 48 ]
Error:
! Test failures.
Execution halted
- checking package vignettes ... NOTE
Package has ‘vignettes’ subdirectory but apparently no vignettes.
Perhaps the ‘VignetteBuilder’ information is missing from the
DESCRIPTION file?
- checking PDF version of manual ... [4s/5s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 WARNING, 1 NOTE