CRAN Package Check Results for Package heatwaveR

Last updated on 2026-01-16 18:50:20 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.5 25.17 399.45 424.62 OK
r-devel-linux-x86_64-debian-gcc 0.5.5 15.88 251.68 267.56 OK
r-devel-linux-x86_64-fedora-clang 0.5.5 58.00 540.95 598.95 OK
r-devel-linux-x86_64-fedora-gcc 0.5.5 49.00 554.13 603.13 OK
r-devel-windows-x86_64 0.5.5 31.00 431.00 462.00 OK
r-patched-linux-x86_64 0.5.5 25.98 328.78 354.76 OK
r-release-linux-x86_64 0.5.4 25.22 325.57 350.79 ERROR
r-release-macos-arm64 0.5.5 5.00 81.00 86.00 OK
r-release-macos-x86_64 0.5.5 18.00 345.00 363.00 OK
r-release-windows-x86_64 0.5.5 34.00 426.00 460.00 OK
r-oldrel-macos-arm64 0.5.5 5.00 91.00 96.00 OK
r-oldrel-macos-x86_64 0.5.5 19.00 442.00 461.00 OK
r-oldrel-windows-x86_64 0.5.5 40.00 513.00 553.00 OK

Check Details

Version: 0.5.4
Check: examples
Result: ERROR Running examples in ‘heatwaveR-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: ts2clm3 > ### Title: Make a climatology from a daily time series. > ### Aliases: ts2clm3 > > ### ** Examples > > data.table::setDTthreads(threads = 1) # optimise for your code and local computer > res <- ts2clm3(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31")) > res[1:10, ] t temp seas thresh <Date> <num> <num> <num> 1: 1982-01-01 20.94 21.6080 22.9605 2: 1982-01-02 21.25 21.6348 22.9987 3: 1982-01-03 21.38 21.6621 23.0376 4: 1982-01-04 21.16 21.6895 23.0771 5: 1982-01-05 21.26 21.7169 23.1130 6: 1982-01-06 21.61 21.7436 23.1460 7: 1982-01-07 21.74 21.7699 23.1775 8: 1982-01-08 21.50 21.7958 23.2080 9: 1982-01-09 21.40 21.8217 23.2366 10: 1982-01-10 21.36 21.8478 23.2649 > > # Or if one only wants the 366 day climatology > res_clim <- ts2clm3(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31"), + clmOnly = TRUE) > res_clim[1:10, ] doy seas thresh <num> <num> <num> 1: 1 21.6080 22.9605 2: 2 21.6348 22.9987 3: 3 21.6621 23.0376 4: 4 21.6895 23.0771 5: 5 21.7169 23.1130 6: 6 21.7436 23.1460 7: 7 21.7699 23.1775 8: 8 21.7958 23.2080 9: 9 21.8217 23.2366 10: 10 21.8478 23.2649 > > # Or if one wants the variance column included in the results > res_var <- ts2clm3(sst_WA, climatologyPeriod = c("1983-01-01", "2012-12-31"), + var = TRUE) Warning in data.table::frollapply(thresh, n = smoothPercentileWidth, var, : 'n' is deprecated in frollapply, use 'N' instead Error in data.table::frollapply(thresh, n = smoothPercentileWidth, var, : argument "FUN" is missing, with no default Calls: ts2clm3 ... [.data.table -> eval -> eval -> <Anonymous> -> match.fun Execution halted Flavor: r-release-linux-x86_64

Version: 0.5.4
Check: tests
Result: ERROR Running ‘testthat.R’ [172s/203s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(heatwaveR) > > test_check("heatwaveR") Saving _problems/test-ts2clm3-101.R [ FAIL 1 | WARN 1 | SKIP 0 | PASS 390 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ts2clm3.R:101:3'): var argument functions correctly ──────────── <getvarError/missingArgError/error/condition> Error in `data.table::frollapply(thresh, n = smoothPercentileWidth, var, na.rm = FALSE, align = "center")`: argument "FUN" is missing, with no default Backtrace: ▆ 1. └─heatwaveR::ts2clm3(...) at test-ts2clm3.R:101:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) 4. └─base::eval(jsub, SDenv, parent.frame()) 5. └─base::eval(jsub, SDenv, parent.frame()) 6. └─data.table::frollapply(...) 7. └─base::match.fun(FUN) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 390 ] Error: ! Test failures. Execution halted Flavor: r-release-linux-x86_64