CRAN Package Check Results for Package tstools

Last updated on 2025-12-20 11:50:42 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.4 4.54 62.08 66.62 ERROR
r-devel-linux-x86_64-debian-gcc 0.4.4 3.36 47.62 50.98 ERROR
r-devel-linux-x86_64-fedora-clang 0.4.4 9.00 86.98 95.98 ERROR
r-devel-linux-x86_64-fedora-gcc 0.4.4 8.00 96.60 104.60 ERROR
r-devel-windows-x86_64 0.4.4 7.00 69.00 76.00 OK
r-patched-linux-x86_64 0.4.4 5.74 56.28 62.02 OK
r-release-linux-x86_64 0.4.4 4.88 56.14 61.02 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 6.00 66.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 83.00 91.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: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### 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 Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.4.4
Check: tests
Result: ERROR Running ‘testthat.R’ [1s/2s] 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-linux-x86_64-debian-clang

Version: 0.4.4
Check: tests
Result: ERROR Running ‘testthat.R’ [1s/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-linux-x86_64-debian-gcc

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 Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.4.4
Check: tests
Result: ERROR Running ‘testthat.R’ 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 Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc