CRAN Package Check Results for Package tstools

Last updated on 2025-12-28 01:48:56 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.4 5.53 51.14 56.67 OK
r-devel-linux-x86_64-debian-gcc 0.4.4 3.59 37.20 40.79 OK
r-devel-linux-x86_64-fedora-clang 0.4.4 9.00 80.60 89.60 OK
r-devel-linux-x86_64-fedora-gcc 0.4.4 10.00 98.39 108.39 OK
r-devel-windows-x86_64 0.4.4 7.00 67.00 74.00 ERROR
r-patched-linux-x86_64 0.4.4 5.71 43.57 49.28 OK
r-release-linux-x86_64 0.4.4 3.64 44.24 47.88 OK
r-release-macos-arm64 0.4.4 OK
r-release-macos-x86_64 0.4.4 4.00 75.00 79.00 OK
r-release-windows-x86_64 0.4.4 7.00 65.00 72.00 OK
r-oldrel-macos-arm64 0.4.4 OK
r-oldrel-macos-x86_64 0.4.4 4.00 72.00 76.00 OK
r-oldrel-windows-x86_64 0.4.4 8.00 81.00 89.00 OK

Check Details

Version: 0.4.4
Check: examples
Result: ERROR Running examples in 'tstools-Ex.R' failed The error most likely occurred in: > ### Name: read_swissdata > ### Title: Read data generated by the Swissdata project > ### Aliases: read_swissdata > > ### ** Examples > > ds_location <- system.file("example_data/ch.seco.css.csv", package = "tstools") > tslist <- read_swissdata(ds_location, "idx_type") Error in `[.data.table`(data_dt, , `:=`(date_zoo = as.numeric(as.yearmon(date)), : attempt access index 3/3 in VECTOR_ELT Calls: read_swissdata -> long_to_ts -> [ -> [.data.table Execution halted Flavor: r-devel-windows-x86_64

Version: 0.4.4
Check: tests
Result: ERROR Running 'testthat.R' [1s] 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(tstools) Loading required package: zoo Attaching package: 'zoo' The following objects are masked from 'package:base': as.Date, as.Date.numeric > > test_check("tstools") Saving _problems/test-import_helpers-8.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-import_helpers.R:8:3'): wide_to_ts ───────────────────────────── Error in ``[.data.table`(data_dt, , `:=`(date_zoo = as.numeric(as.yearmon(date)), frq = 12), by = series)`: attempt access index 3/3 in VECTOR_ELT Backtrace: ▆ 1. └─tstools::wide_to_ts(df) at test-import_helpers.R:8:3 2. └─tstools::long_to_ts(...) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.