* using log directory ‘/srv/hornik/tmp/CRAN/RivRetrieve.Rcheck’ * using R Under development (unstable) (2023-09-23 r85215) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 16.0.6 (15) GNU Fortran (Debian 13.2.0-4) 13.2.0 * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘RivRetrieve/DESCRIPTION’ ... OK * this is package ‘RivRetrieve’ version ‘0.1.1’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/4s] NOTE Maintainer: ‘Ryan Riggs ’ New submission * 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 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 ‘RivRetrieve’ can be installed ... [5s/5s] OK * 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [2s/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 ... [2s/2s] OK * checking loading without being on the library search path ... [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 ... [8s/8s] 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 R/sysdata.rda ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [3s/3s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [2s/3s] ERROR Running ‘testthat.R’ [2s/3s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(RivRetrieve) > > test_check("RivRetrieve") [ FAIL 3 | WARN 1 | SKIP 0 | PASS 8 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_downloads.R:36:3'): Download stage functions are working ─────── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "Australia/Queensland" Backtrace: ▆ 1. └─RivRetrieve::australia(Australia_sites$site[1], "stage") at test_downloads.R:36:2 2. └─RivRetrieve::get_daily(bom_variable, site, start_date, end_date) 3. └─RivRetrieve::get_timeseries(...) 4. ├─lubridate::force_tz(lubridate::as_datetime(start_date), tz = tz) 5. └─lubridate:::force_tz.default(...) 6. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 7. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 8. ├─timechange:::from_posixct(...) 9. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) ── Error ('test_downloads.R:63:3'): Download discharge functions are working ─── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "Australia/Queensland" Backtrace: ▆ 1. └─RivRetrieve::australia(Australia_sites$site[1], "discharge") at test_downloads.R:63:2 2. └─RivRetrieve::get_daily(bom_variable, site, start_date, end_date) 3. └─RivRetrieve::get_timeseries(...) 4. ├─lubridate::force_tz(lubridate::as_datetime(start_date), tz = tz) 5. └─lubridate:::force_tz.default(...) 6. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 7. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 8. ├─timechange:::from_posixct(...) 9. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) ── Error ('test_downloads.R:98:3'): Download raw data are working ────────────── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "Australia/Queensland" Backtrace: ▆ 1. └─RivRetrieve::australia(Australia_sites$site[1], "discharge") at test_downloads.R:98:2 2. └─RivRetrieve::get_daily(bom_variable, site, start_date, end_date) 3. └─RivRetrieve::get_timeseries(...) 4. ├─lubridate::force_tz(lubridate::as_datetime(start_date), tz = tz) 5. └─lubridate:::force_tz.default(...) 6. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 7. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 8. ├─timechange:::from_posixct(...) 9. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) [ FAIL 3 | WARN 1 | SKIP 0 | PASS 8 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... [5s/9s] OK * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE