- using R Under development (unstable) (2026-09-21 r90579 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
* current time: 2026-09-25 00:55:55 UTC
- checking for file 'stationaRy/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'stationaRy' version '0.5.1'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'stationaRy' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package 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] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [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 ... [5s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... 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 LazyData ... INFO
'LazyData' is specified without a 'data' directory
- checking R/sysdata.rda ... OK
- checking examples ... [3s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [8s] ERROR
Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(stationaRy)
>
> test_check("stationaRy")
Saving _problems/test-get_met_station_data-12.R
Saving _problems/test-get_met_station_data-67.R
Saving _problems/test-get_met_station_data-189.R
[ FAIL 3 | WARN 3 | SKIP 0 | PASS 7 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-get_met_station_data.R:6:3'): The `get_met_data()` fcn returns correct number of columns ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(., offset = lutz::tz_offset(dt = as.Date(time), tz = tz_name)$utc_offset_h)`: ℹ In argument: `offset = lutz::tz_offset(dt = as.Date(time), tz =
tz_name)$utc_offset_h`.
Caused by error in `C_force_tz()`:
! CCTZ: Unrecognized output timezone: "America/Yellowknife"
Backtrace:
▆
1. ├─stationaRy::get_met_data(...) at test-get_met_station_data.R:6:3
2. │ └─... %>% ...
3. ├─dplyr::select(...)
4. ├─dplyr::mutate(...)
5. ├─dplyr::mutate(...)
6. ├─dplyr:::mutate.data.frame(., offset = lutz::tz_offset(dt = as.Date(time), tz = tz_name)$utc_offset_h)
7. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
8. │ ├─base::withCallingHandlers(...)
9. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
10. │ └─mask$eval_all_mutate(quo)
11. │ └─dplyr (local) eval()
12. ├─lutz::tz_offset(dt = as.Date(time), tz = tz_name)
13. │ ├─lubridate::force_tz(as.POSIXlt(dt), tz)
14. │ └─lubridate:::force_tz.default(as.POSIXlt(dt), tz)
15. │ └─timechange::time_force_tz(...)
16. │ └─timechange:::.force_tz(time, tz, tzout, roll_dst)
17. │ ├─timechange:::from_posixct(...)
18. │ └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst)
19. └─base::.handleSimpleError(...)
20. └─dplyr (local) h(simpleError(msg, call))
21. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
── Error ('test-get_met_station_data.R:62:3'): The `station_coverage()` fcn can provide an additional data report ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(., offset = lutz::tz_offset(dt = as.Date(time), tz = tz_name)$utc_offset_h)`: ℹ In argument: `offset = lutz::tz_offset(dt = as.Date(time), tz =
tz_name)$utc_offset_h`.
Caused by error in `C_force_tz()`:
! CCTZ: Unrecognized output timezone: "America/Yellowknife"
Backtrace:
▆
1. ├─stationaRy::station_coverage(...) at test-get_met_station_data.R:62:3
2. │ └─stationaRy::get_met_data(...)
3. │ └─... %>% ...
4. ├─dplyr::select(...)
5. ├─dplyr::mutate(...)
6. ├─dplyr::mutate(...)
7. ├─dplyr:::mutate.data.frame(., offset = lutz::tz_offset(dt = as.Date(time), tz = tz_name)$utc_offset_h)
8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
9. │ ├─base::withCallingHandlers(...)
10. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
11. │ └─mask$eval_all_mutate(quo)
12. │ └─dplyr (local) eval()
13. ├─lutz::tz_offset(dt = as.Date(time), tz = tz_name)
14. │ ├─lubridate::force_tz(as.POSIXlt(dt), tz)
15. │ └─lubridate:::force_tz.default(as.POSIXlt(dt), tz)
16. │ └─timechange::time_force_tz(...)
17. │ └─timechange:::.force_tz(time, tz, tzout, roll_dst)
18. │ ├─timechange:::from_posixct(...)
19. │ └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst)
20. └─base::.handleSimpleError(...)
21. └─dplyr (local) h(simpleError(msg, call))
22. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
── Error ('test-get_met_station_data.R:183:3'): The `get_met_data()` fcn can provide all additional data fields ──
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `dplyr::mutate(., offset = lutz::tz_offset(dt = as.Date(time), tz = tz_name)$utc_offset_h)`: ℹ In argument: `offset = lutz::tz_offset(dt = as.Date(time), tz =
tz_name)$utc_offset_h`.
Caused by error in `C_force_tz()`:
! CCTZ: Unrecognized output timezone: "America/Yellowknife"
Backtrace:
▆
1. ├─stationaRy::get_met_data(...) at test-get_met_station_data.R:183:3
2. │ └─... %>% ...
3. ├─dplyr::select(...)
4. ├─dplyr::mutate(...)
5. ├─dplyr::mutate(...)
6. ├─dplyr:::mutate.data.frame(., offset = lutz::tz_offset(dt = as.Date(time), tz = tz_name)$utc_offset_h)
7. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
8. │ ├─base::withCallingHandlers(...)
9. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
10. │ └─mask$eval_all_mutate(quo)
11. │ └─dplyr (local) eval()
12. ├─lutz::tz_offset(dt = as.Date(time), tz = tz_name)
13. │ ├─lubridate::force_tz(as.POSIXlt(dt), tz)
14. │ └─lubridate:::force_tz.default(as.POSIXlt(dt), tz)
15. │ └─timechange::time_force_tz(...)
16. │ └─timechange:::.force_tz(time, tz, tzout, roll_dst)
17. │ ├─timechange:::from_posixct(...)
18. │ └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst)
19. └─base::.handleSimpleError(...)
20. └─dplyr (local) h(simpleError(msg, call))
21. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
[ FAIL 3 | WARN 3 | SKIP 0 | PASS 7 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [20s] OK
- checking HTML version of manual ... [1s] OK
- DONE
Status: 1 ERROR