CRAN Package Check Results for Package tstools

Last updated on 2021-02-22 06:47:46 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.8 4.94 56.07 61.01 OK
r-devel-linux-x86_64-debian-gcc 0.3.8 3.85 41.58 45.43 OK
r-devel-linux-x86_64-fedora-clang 0.3.8 85.49 OK
r-devel-linux-x86_64-fedora-gcc 0.3.8 90.14 OK
r-devel-windows-ix86+x86_64 0.3.8 7.00 54.00 61.00 OK
r-patched-linux-x86_64 0.3.8 5.12 51.80 56.92 OK
r-patched-solaris-x86 0.3.8 98.80 ERROR
r-release-linux-x86_64 0.3.8 5.06 52.20 57.26 OK
r-release-macos-x86_64 0.3.8 OK
r-release-windows-ix86+x86_64 0.3.8 30.00 75.00 105.00 OK
r-oldrel-macos-x86_64 0.3.8 OK
r-oldrel-windows-ix86+x86_64 0.3.8 8.00 58.00 66.00 OK

Check Details

Version: 0.3.8
Check: tests
Result: ERROR
     Running ‘testthat.R’ [9s/13s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > 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")
     adding: tmp/RtmpCTaW.h/working_dir/RtmpAAay0w/test_ts_2021_02_07.json (deflated 82%)
     adding: tmp/RtmpCTaW.h/working_dir/RtmpAAay0w/test_ts_2021_02_07.json (deflated 82%)
     adding: tmp/RtmpCTaW.h/working_dir/RtmpAAay0w/test_ts_2021_02_07.json (deflated 82%)
     ══ Warnings ════════════════════════════════════════════════════════════════════
     ── Warning (testWriteTimeseries.R:302:7): differing lengths work ───────────────
     Attempt to override column 1 <<date>> of inherent type 'string' down to 'float64' ignored. Only overrides to a higher type are currently supported. If this was intended, please coerce to the lower type afterwards.
     Backtrace:
     1. tstools::read_ts("faulty.csv") testWriteTimeseries.R:302:6
     2. tstools:::read_ts.csv(file, sep, skip = skip)
     3. data.table::fread(...)
     ── Warning (testWriteTimeseries.R:302:7): differing lengths work ───────────────
     Attempt to override column 1 <<date>> of inherent type 'string' down to 'float64' ignored. Only overrides to a higher type are currently supported. If this was intended, please coerce to the lower type afterwards.
     Backtrace:
     1. tstools::read_ts("faulty.csv") testWriteTimeseries.R:302:6
     2. tstools:::read_ts.csv(file, sep, skip = skip)
     3. data.table::fread(...)
     ── Warning (testWriteTimeseries.R:302:7): differing lengths work ───────────────
     Attempt to override column 1 <<date>> of inherent type 'string' down to 'float64' ignored. Only overrides to a higher type are currently supported. If this was intended, please coerce to the lower type afterwards.
     Backtrace:
     1. tstools::read_ts("faulty.csv") testWriteTimeseries.R:302:6
     2. tstools:::read_ts.csv(file, sep, skip = skip)
     3. data.table::fread(...)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (testWriteTimeseries.R:252:7): imports work ───────────────────────────
     Error: Could not detect file format. Please supply format parameter!
     Valid file formats are csv, xlsx, json and zip.
     Backtrace:
     █
     1. ├─testthat::expect_equal(ts, read_ts(csv_wide_name)) testWriteTimeseries.R:252:6
     2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─tstools::read_ts(csv_wide_name)
     ── Error (testWriteTimeseries.R:252:7): imports work ───────────────────────────
     Error: Could not detect file format. Please supply format parameter!
     Valid file formats are csv, xlsx, json and zip.
     Backtrace:
     █
     1. ├─testthat::expect_equal(ts, read_ts(csv_wide_name)) testWriteTimeseries.R:252:6
     2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─tstools::read_ts(csv_wide_name)
     ── Error (testWriteTimeseries.R:252:7): imports work ───────────────────────────
     Error: Could not detect file format. Please supply format parameter!
     Valid file formats are csv, xlsx, json and zip.
     Backtrace:
     █
     1. ├─testthat::expect_equal(ts, read_ts(csv_wide_name)) testWriteTimeseries.R:252:6
     2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─tstools::read_ts(csv_wide_name)
    
     [ FAIL 3 | WARN 3 | SKIP 0 | PASS 99 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-solaris-x86