- using R version 4.3.3 (2024-02-29)
- using platform: aarch64-apple-darwin20 (64-bit)
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.4
- using session charset: UTF-8
- checking for file ‘tsbox/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘tsbox’ version ‘0.4.2’
- package encoding: UTF-8
- 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 ‘tsbox’ can be installed ... [2s/2s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... 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 ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [3s/4s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... 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/2s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [38s/14s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [38s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tsbox)
> library(dplyr)
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
>
> test_check("tsbox")
Starting 2 test processes
[ FAIL 12 | WARN 0 | SKIP 17 | PASS 640 ]
══ Skipped tests (17) ══════════════════════════════════════════════════════════
• On CRAN (17): 'test-error_handling.R:237:3',
'test-nonstandard_cnames.R:20:3', 'test-nonstandard_cnames.R:58:3',
'test-object_conversion.R:6:3', 'test-object_conversion.R:47:3',
'test-object_conversion.R:83:3', 'test-object_conversion.R:114:3',
'test-object_conversion.R:151:3', 'test-readme.R:2:3', 'test-ts_.R:19:3',
'test-ts_first_of_period.R:1:1', 'test-ts_index.R:2:1',
'test-ts_frequency.R:28:3', 'test-ts_plot.R:2:3', 'test-ts_summary.R:7:3',
'test-tsibble.R:44:3', 'test-tzone.R:8:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-high_freq.R:40:3'): heuristic high frequency data works ──────
`x` (`actual`) not equal to ts_df(ts_ts(x)) (`expected`).
actual$time | expected$time
[1] "2000-01-01 00:00:00" - "2000-01-01 00:01:58" [1]
[2] "2000-01-01 00:00:01" - "2000-01-01 00:01:59" [2]
[3] "2000-01-01 00:00:02" - "2000-01-01 00:02:00" [3]
[4] "2000-01-01 00:00:03" - "2000-01-01 00:02:01" [4]
[5] "2000-01-01 00:00:04" - "2000-01-01 00:02:02" [5]
[6] "2000-01-01 00:00:05" - "2000-01-01 00:02:03" [6]
[7] "2000-01-01 00:00:06" - "2000-01-01 00:02:04" [7]
[8] "2000-01-01 00:00:07" - "2000-01-01 00:02:05" [8]
[9] "2000-01-01 00:00:08" - "2000-01-01 00:02:06" [9]
[10] "2000-01-01 00:00:09" - "2000-01-01 00:02:07" [10]
── Failure ('test-high_freq.R:46:3'): heuristic high frequency data works ──────
`x` (`actual`) not equal to ts_df(ts_ts(x)) (`expected`).
actual$time | expected$time
[1] "2000-01-01 00:00:00" - "2000-01-01 00:01:58" [1]
[2] "2000-01-01 00:00:05" - "2000-01-01 00:02:03" [2]
[3] "2000-01-01 00:00:10" - "2000-01-01 00:02:08" [3]
[4] "2000-01-01 00:00:15" - "2000-01-01 00:02:13" [4]
[5] "2000-01-01 00:00:20" - "2000-01-01 00:02:18" [5]
[6] "2000-01-01 00:00:25" - "2000-01-01 00:02:23" [6]
[7] "2000-01-01 00:00:30" - "2000-01-01 00:02:28" [7]
[8] "2000-01-01 00:00:35" - "2000-01-01 00:02:33" [8]
[9] "2000-01-01 00:00:40" - "2000-01-01 00:02:38" [9]
[10] "2000-01-01 00:00:45" - "2000-01-01 00:02:43" [10]
── Failure ('test-high_freq.R:52:3'): heuristic high frequency data works ──────
`x` (`actual`) not equal to ts_df(ts_ts(x)) (`expected`).
actual$time | expected$time
[1] "2000-01-01 00:00:00" - "2000-01-01 00:01:58" [1]
[2] "2000-01-01 00:00:10" - "2000-01-01 00:02:08" [2]
[3] "2000-01-01 00:00:20" - "2000-01-01 00:02:18" [3]
[4] "2000-01-01 00:00:30" - "2000-01-01 00:02:28" [4]
[5] "2000-01-01 00:00:40" - "2000-01-01 00:02:38" [5]
[6] "2000-01-01 00:00:50" - "2000-01-01 00:02:48" [6]
[7] "2000-01-01 00:01:00" - "2000-01-01 00:02:58" [7]
[8] "2000-01-01 00:01:10" - "2000-01-01 00:03:08" [8]
[9] "2000-01-01 00:01:20" - "2000-01-01 00:03:18" [9]
[10] "2000-01-01 00:01:30" - "2000-01-01 00:03:28" [10]
── Failure ('test-high_freq.R:58:3'): heuristic high frequency data works ──────
`x` (`actual`) not equal to ts_df(ts_ts(x)) (`expected`).
actual$time | expected$time
[1] "2000-01-01 00:00:00" - "2000-01-01 00:01:58" [1]
[2] "2000-01-01 00:01:00" - "2000-01-01 00:02:58" [2]
[3] "2000-01-01 00:02:00" - "2000-01-01 00:03:58" [3]
[4] "2000-01-01 00:03:00" - "2000-01-01 00:04:58" [4]
[5] "2000-01-01 00:04:00" - "2000-01-01 00:05:58" [5]
[6] "2000-01-01 00:05:00" - "2000-01-01 00:06:58" [6]
[7] "2000-01-01 00:06:00" - "2000-01-01 00:07:58" [7]
[8] "2000-01-01 00:07:00" - "2000-01-01 00:08:58" [8]
[9] "2000-01-01 00:08:00" - "2000-01-01 00:09:58" [9]
[10] "2000-01-01 00:09:00" - "2000-01-01 00:10:58" [10]
── Failure ('test-high_freq.R:64:3'): heuristic high frequency data works ──────
`x` (`actual`) not equal to ts_df(ts_ts(x)) (`expected`).
actual$time | expected$time
[1] "2000-01-01 00:00:00" - "2000-01-01 00:01:58" [1]
[2] "2000-01-01 00:10:00" - "2000-01-01 00:11:58" [2]
[3] "2000-01-01 00:20:00" - "2000-01-01 00:21:58" [3]
[4] "2000-01-01 00:30:00" - "2000-01-01 00:31:58" [4]
[5] "2000-01-01 00:40:00" - "2000-01-01 00:41:58" [5]
[6] "2000-01-01 00:50:00" - "2000-01-01 00:51:58" [6]
[7] "2000-01-01 01:00:00" - "2000-01-01 01:01:58" [7]
[8] "2000-01-01 01:10:00" - "2000-01-01 01:11:58" [8]
[9] "2000-01-01 01:20:00" - "2000-01-01 01:21:58" [9]
[10] "2000-01-01 01:30:00" - "2000-01-01 01:31:58" [10]
── Failure ('test-high_freq.R:70:3'): heuristic high frequency data works ──────
`x` (`actual`) not equal to ts_df(ts_ts(x)) (`expected`).
actual$time | expected$time
[1] "2000-01-01 00:00:00" - "2000-01-01 00:01:58" [1]
[2] "2000-01-01 00:15:00" - "2000-01-01 00:16:58" [2]
[3] "2000-01-01 00:30:00" - "2000-01-01 00:31:58" [3]
[4] "2000-01-01 00:45:00" - "2000-01-01 00:46:58" [4]
[5] "2000-01-01 01:00:00" - "2000-01-01 01:01:58" [5]
[6] "2000-01-01 01:15:00" - "2000-01-01 01:16:58" [6]
[7] "2000-01-01 01:30:00" - "2000-01-01 01:31:58" [7]
[8] "2000-01-01 01:45:00" - "2000-01-01 01:46:58" [8]
[9] "2000-01-01 02:00:00" - "2000-01-01 02:01:58" [9]
[10] "2000-01-01 02:15:00" - "2000-01-01 02:16:58" [10]
── Failure ('test-high_freq.R:76:3'): heuristic high frequency data works ──────
`x` (`actual`) not equal to ts_df(ts_ts(x)) (`expected`).
actual$time | expected$time
[1] "2000-01-01 00:00:00" - "2000-01-01 00:01:58" [1]
[2] "2000-01-01 00:20:00" - "2000-01-01 00:21:58" [2]
[3] "2000-01-01 00:40:00" - "2000-01-01 00:41:58" [3]
[4] "2000-01-01 01:00:00" - "2000-01-01 01:01:58" [4]
[5] "2000-01-01 01:20:00" - "2000-01-01 01:21:58" [5]
[6] "2000-01-01 01:40:00" - "2000-01-01 01:41:58" [6]
[7] "2000-01-01 02:00:00" - "2000-01-01 02:01:58" [7]
[8] "2000-01-01 02:20:00" - "2000-01-01 02:21:58" [8]
[9] "2000-01-01 02:40:00" - "2000-01-01 02:41:58" [9]
[10] "2000-01-01 03:00:00" - "2000-01-01 03:01:58" [10]
── Failure ('test-high_freq.R:82:3'): heuristic high frequency data works ──────
`x` (`actual`) not equal to ts_df(ts_ts(x)) (`expected`).
actual$time | expected$time
[1] "2000-01-01 00:00:00" - "2000-01-01 00:01:58" [1]
[2] "2000-01-01 01:00:00" - "2000-01-01 01:01:58" [2]
[3] "2000-01-01 02:00:00" - "2000-01-01 02:01:58" [3]
[4] "2000-01-01 03:00:00" - "2000-01-01 03:01:58" [4]
[5] "2000-01-01 04:00:00" - "2000-01-01 04:01:58" [5]
[6] "2000-01-01 05:00:00" - "2000-01-01 05:01:58" [6]
[7] "2000-01-01 06:00:00" - "2000-01-01 06:01:58" [7]
[8] "2000-01-01 07:00:00" - "2000-01-01 07:01:58" [8]
[9] "2000-01-01 08:00:00" - "2000-01-01 08:01:58" [9]
[10] "2000-01-01 09:00:00" - "2000-01-01 09:01:58" [10]
── Failure ('test-high_freq.R:101:3'): non regular high frequency data works ───
`x` (`actual`) not equal to ts_df(ts_ts(x)) (`expected`).
actual$time | expected$time
[1] "2000-01-01 00:00:00" - "2000-01-01 00:01:58" [1]
[2] "2000-01-11 00:00:00" - "2000-01-11 00:01:44" [2]
[3] "2000-01-21 00:00:00" - "2000-01-21 00:01:31" [3]
[4] "2000-01-31 00:00:00" - "2000-01-31 00:01:18" [4]
[5] "2000-02-10 00:00:00" - "2000-02-10 00:01:05" [5]
[6] "2000-02-20 00:00:00" - "2000-02-20 00:00:52" [6]
[7] "2000-03-01 00:00:00" - "2000-03-01 00:00:39" [7]
[8] "2000-03-11 00:00:00" - "2000-03-11 00:00:26" [8]
[9] "2000-03-20 23:00:00" - "2000-03-20 23:00:13" [9]
[10] "2000-03-30 23:00:00" | "2000-03-30 23:00:00" [10]
── Failure ('test-high_freq.R:107:3'): non regular high frequency data works ───
`x` (`actual`) not equal to ts_df(ts_ts(x)) (`expected`).
actual$time | expected$time
[1] "2000-01-01 00:00:00" - "2000-01-01 00:01:58" [1]
[2] "2000-01-18 00:00:00" - "2000-01-18 00:01:44" [2]
[3] "2000-02-04 00:00:00" - "2000-02-04 00:01:31" [3]
[4] "2000-02-21 00:00:00" - "2000-02-21 00:01:18" [4]
[5] "2000-03-09 00:00:00" - "2000-03-09 00:01:05" [5]
[6] "2000-03-25 23:00:00" - "2000-03-25 23:00:52" [6]
[7] "2000-04-11 23:00:00" - "2000-04-11 23:00:39" [7]
[8] "2000-04-28 23:00:00" - "2000-04-28 23:00:26" [8]
[9] "2000-05-15 23:00:00" - "2000-05-15 23:00:13" [9]
[10] "2000-06-01 23:00:00" | "2000-06-01 23:00:00" [10]
── Failure ('test-high_freq.R:113:3'): non regular high frequency data works ───
`x` (`actual`) not equal to ts_df(ts_ts(x)) (`expected`).
actual$time | expected$time
[1] "2000-01-01 00:00:00" - "2000-01-01 00:01:58" [1]
[2] "2000-01-01 00:00:17" - "2000-01-01 00:02:14" [2]
[3] "2000-01-01 00:00:34" - "2000-01-01 00:02:31" [3]
[4] "2000-01-01 00:00:51" - "2000-01-01 00:02:48" [4]
[5] "2000-01-01 00:01:08" - "2000-01-01 00:03:05" [5]
[6] "2000-01-01 00:01:25" - "2000-01-01 00:03:22" [6]
[7] "2000-01-01 00:01:42" - "2000-01-01 00:03:39" [7]
[8] "2000-01-01 00:01:59" - "2000-01-01 00:03:56" [8]
[9] "2000-01-01 00:02:16" - "2000-01-01 00:04:13" [9]
[10] "2000-01-01 00:02:33" - "2000-01-01 00:04:30" [10]
── Failure ('test-high_freq.R:119:3'): non regular high frequency data works ───
`x` (`actual`) not equal to ts_df(ts_ts(x)) (`expected`).
actual$time | expected$time
[1] "2000-01-01 00:00:00" - "2000-01-01 00:01:58" [1]
[2] "2000-01-01 00:17:00" - "2000-01-01 00:18:55" [2]
[3] "2000-01-01 00:34:00" - "2000-01-01 00:35:52" [3]
[4] "2000-01-01 00:51:00" - "2000-01-01 00:52:49" [4]
[5] "2000-01-01 01:08:00" - "2000-01-01 01:09:46" [5]
[6] "2000-01-01 01:25:00" - "2000-01-01 01:26:44" [6]
[7] "2000-01-01 01:42:00" - "2000-01-01 01:43:41" [7]
[8] "2000-01-01 01:59:00" - "2000-01-01 02:00:38" [8]
[9] "2000-01-01 02:16:00" - "2000-01-01 02:17:35" [9]
[10] "2000-01-01 02:33:00" - "2000-01-01 02:34:32" [10]
[ FAIL 12 | WARN 0 | SKIP 17 | PASS 640 ]
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 ... [12s/22s] OK
- checking PDF version of manual ... [4s/4s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '