* using log directory ‘/srv/hornik/tmp/CRAN/timeplyr.Rcheck’ * using R Under development (unstable) (2023-10-09 r85283) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 16.0.6 (15) GNU Fortran (Debian 13.2.0-4) 13.2.0 * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘timeplyr/DESCRIPTION’ ... OK * this is package ‘timeplyr’ version ‘0.2.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/4s] NOTE Maintainer: ‘Nick Christofides ’ New submission Possibly misspelled words in DESCRIPTION: Datetime (2:37) tidyverse (8:49) * 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 ‘timeplyr’ can be installed ... [25s/25s] OK * used C++ compiler: ‘Debian clang version 16.0.6 (15)’ * checking package directory ... OK * checking for future file timestamps ... 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking whether startup messages can be suppressed ... [1s/1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... NOTE Mismatches for apparent methods not registered: rep: function(x, ...) rep.int.yearqtr: function(x, times) rep: function(x, ...) rep.int.yearmon: function(x, times) See section ‘Registering S3 methods’ in the ‘Writing R Extensions’ manual. * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [14s/14s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... 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 line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... [47s/19s] NOTE Examples with CPU (user + system) or elapsed time > 5s user system elapsed time_expand 6.31 0.168 1.518 Examples with CPU time > 2.5 times elapsed time user system elapsed ratio roll_na_fill 2.290 0.132 0.151 16.040 fskim 3.270 0.144 0.289 11.813 q_summarise 3.792 0.122 0.337 11.614 time_count 4.111 0.128 0.680 6.234 get_time_delay 3.933 0.057 0.691 5.774 time_expand 6.310 0.168 1.518 4.267 fexpand 2.907 0.130 0.773 3.929 * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [156s/37s] ERROR Running ‘testthat.R’ [156s/37s] Running R code in ‘testthat.R’ had CPU time 4.2 times elapsed time Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(timeplyr) > > test_check("timeplyr") Storing counts in `nn`, as `n` already present in input i Use `name = "new_name"` to pick a new name. Storing counts in `nn`, as `n` already present in input i Use `name = "new_name"` to pick a new name. Storing counts in `nn`, as `n` already present in input i Use `name = "new_name"` to pick a new name. Storing counts in `nn`, as `n` already present in input i Use `name = "new_name"` to pick a new name. Storing counts in `nn`, as `n` already present in input i Use `name = "new_name"` to pick a new name. Adding missing grouping variables: 'Sepal.Length', 'Species' Adding missing grouping variables: `Sepal.Length`, `Species` Adding missing grouping variables: 'Sepal.Length', 'Species' Adding missing grouping variables: `Sepal.Length`, `Species` Adding missing grouping variables: 'Sepal.Length' Adding missing grouping variables: `Sepal.Length` Adding missing grouping variables: 'Sepal.Length', 'Species' Adding missing grouping variables: `Sepal.Length`, `Species` Adding missing grouping variables: 'Sepal.Length', 'Species' Adding missing grouping variables: `Sepal.Length`, `Species` The below stat functions are available for use in stat_summarise n nmiss min max mean median sd var mode first last sum prop_complete This message is displayed once per session. Assuming a time granularity of 1 hour(s) Assuming a time granularity of 1 hour(s) Assuming a time granularity of 1 hour(s) Assuming a time granularity of 1 hour(s) Joining with `by = join_by(x, interval, n)` Joining with `by = join_by(x, interval, n)` Assuming a time granularity of 1 hour(s) Assuming a time granularity of 1 numeric unit(s) Assuming a time granularity of 1 numeric unit(s) Assuming a time granularity of 1 hour(s) Assuming a time granularity of 1 hour(s) Assuming a time granularity of 0.1 numeric unit(s) [ FAIL 15 | WARN 0 | SKIP 0 | PASS 707 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-time_by.R:4:3'): time_by ─────────────────────────────────────── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "GB" Backtrace: ▆ 1. └─lubridate::ymd_hms("2013-03-16 11:43:48", tz = "GB") at test-time_by.R:4:2 2. └─lubridate:::.parse_xxx_hms(...) 3. └─lubridate::parse_date_time(...) 4. └─lubridate (local) .local_parse(x[to_parse], TRUE) 5. └─lubridate:::.parse_date_time(...) 6. └─lubridate:::.strptime(...) 7. ├─lubridate::force_tz(out, tzone = tz) 8. └─lubridate:::force_tz.default(out, tzone = tz) 9. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 10. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 11. ├─timechange:::from_posixct(...) 12. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) ── Error ('test-time_core.R:161:3'): Tests for time_span ─────────────────────── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "GB" Backtrace: ▆ 1. └─lubridate::ymd_hms("2013-03-16 11:43:48", tz = "GB") at test-time_core.R:161:2 2. └─lubridate:::.parse_xxx_hms(...) 3. └─lubridate::parse_date_time(...) 4. └─lubridate (local) .local_parse(x[to_parse], TRUE) 5. └─lubridate:::.parse_date_time(...) 6. └─lubridate:::.strptime(...) 7. ├─lubridate::force_tz(out, tzone = tz) 8. └─lubridate:::force_tz.default(out, tzone = tz) 9. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 10. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 11. ├─timechange:::from_posixct(...) 12. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) ── Error ('test-time_core.R:203:3'): Tests for time_completev ────────────────── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "GB" Backtrace: ▆ 1. └─lubridate::ymd_hms("2013-03-16 11:43:48", tz = "GB") at test-time_core.R:203:2 2. └─lubridate:::.parse_xxx_hms(...) 3. └─lubridate::parse_date_time(...) 4. └─lubridate (local) .local_parse(x[to_parse], TRUE) 5. └─lubridate:::.parse_date_time(...) 6. └─lubridate:::.strptime(...) 7. ├─lubridate::force_tz(out, tzone = tz) 8. └─lubridate:::force_tz.default(out, tzone = tz) 9. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 10. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 11. ├─timechange:::from_posixct(...) 12. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) ── Error ('test-time_core.R:219:3'): Tests for time_summarisev ───────────────── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "GB" Backtrace: ▆ 1. └─lubridate::ymd_hms("2013-03-16 11:43:48", tz = "GB") at test-time_core.R:219:2 2. └─lubridate:::.parse_xxx_hms(...) 3. └─lubridate::parse_date_time(...) 4. └─lubridate (local) .local_parse(x[to_parse], TRUE) 5. └─lubridate:::.parse_date_time(...) 6. └─lubridate:::.strptime(...) 7. ├─lubridate::force_tz(out, tzone = tz) 8. └─lubridate:::force_tz.default(out, tzone = tz) 9. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 10. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 11. ├─timechange:::from_posixct(...) 12. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) ── Error ('test-time_count.R:13:3'): Compare to tidyr ────────────────────────── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "GB" Backtrace: ▆ 1. └─lubridate::ymd_hms("2013-03-16 11:43:48", tz = "GB") at test-time_count.R:13:2 2. └─lubridate:::.parse_xxx_hms(...) 3. └─lubridate::parse_date_time(...) 4. └─lubridate (local) .local_parse(x[to_parse], TRUE) 5. └─lubridate:::.parse_date_time(...) 6. └─lubridate:::.strptime(...) 7. ├─lubridate::force_tz(out, tzone = tz) 8. └─lubridate:::force_tz.default(out, tzone = tz) 9. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 10. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 11. ├─timechange:::from_posixct(...) 12. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) ── Error ('test-time_cut.R:2:3'): time breaks ────────────────────────────────── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "GB" Backtrace: ▆ 1. └─lubridate::ymd_hms("2013-03-16 11:43:48", tz = "GB") at test-time_cut.R:2:2 2. └─lubridate:::.parse_xxx_hms(...) 3. └─lubridate::parse_date_time(...) 4. └─lubridate (local) .local_parse(x[to_parse], TRUE) 5. └─lubridate:::.parse_date_time(...) 6. └─lubridate:::.strptime(...) 7. ├─lubridate::force_tz(out, tzone = tz) 8. └─lubridate:::force_tz.default(out, tzone = tz) 9. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 10. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 11. ├─timechange:::from_posixct(...) 12. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) ── Error ('test-time_cut.R:54:3'): time cut ──────────────────────────────────── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "GB" Backtrace: ▆ 1. └─lubridate::ymd_hms("2013-03-16 11:43:48", tz = "GB") at test-time_cut.R:54:2 2. └─lubridate:::.parse_xxx_hms(...) 3. └─lubridate::parse_date_time(...) 4. └─lubridate (local) .local_parse(x[to_parse], TRUE) 5. └─lubridate:::.parse_date_time(...) 6. └─lubridate:::.strptime(...) 7. ├─lubridate::force_tz(out, tzone = tz) 8. └─lubridate:::force_tz.default(out, tzone = tz) 9. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 10. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 11. ├─timechange:::from_posixct(...) 12. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) ── Error ('test-time_diff.R:2:3'): time diff ─────────────────────────────────── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "GB" Backtrace: ▆ 1. └─lubridate::ymd_hms("2023-03-16 11:43:48", tz = "GB") at test-time_diff.R:2:2 2. └─lubridate:::.parse_xxx_hms(...) 3. └─lubridate::parse_date_time(...) 4. └─lubridate (local) .local_parse(x[to_parse], TRUE) 5. └─lubridate:::.parse_date_time(...) 6. └─lubridate:::.strptime(...) 7. ├─lubridate::force_tz(out, tzone = tz) 8. └─lubridate:::force_tz.default(out, tzone = tz) 9. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 10. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 11. ├─timechange:::from_posixct(...) 12. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) ── Error ('test-time_mutate.R:3:3'): General tests ───────────────────────────── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "GB" Backtrace: ▆ 1. └─lubridate::ymd_hms("2013-03-16 11:43:48", tz = "GB") at test-time_mutate.R:3:2 2. └─lubridate:::.parse_xxx_hms(...) 3. └─lubridate::parse_date_time(...) 4. └─lubridate (local) .local_parse(x[to_parse], TRUE) 5. └─lubridate:::.parse_date_time(...) 6. └─lubridate:::.strptime(...) 7. ├─lubridate::force_tz(out, tzone = tz) 8. └─lubridate:::force_tz.default(out, tzone = tz) 9. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 10. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 11. ├─timechange:::from_posixct(...) 12. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) ── Error ('test-time_seq.R:123:3'): Datetimes ────────────────────────────────── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "GB" Backtrace: ▆ 1. └─lubridate::ymd_hms("2023-03-16 11:43:48", tz = "GB") at test-time_seq.R:123:2 2. └─lubridate:::.parse_xxx_hms(...) 3. └─lubridate::parse_date_time(...) 4. └─lubridate (local) .local_parse(x[to_parse], TRUE) 5. └─lubridate:::.parse_date_time(...) 6. └─lubridate:::.strptime(...) 7. ├─lubridate::force_tz(out, tzone = tz) 8. └─lubridate:::force_tz.default(out, tzone = tz) 9. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 10. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 11. ├─timechange:::from_posixct(...) 12. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) ── Error ('test-time_seq.R:304:3'): Time sequence lengths ────────────────────── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "GB" Backtrace: ▆ 1. └─lubridate::ymd_hms("2023-03-16 11:43:48", tz = "GB") at test-time_seq.R:304:2 2. └─lubridate:::.parse_xxx_hms(...) 3. └─lubridate::parse_date_time(...) 4. └─lubridate (local) .local_parse(x[to_parse], TRUE) 5. └─lubridate:::.parse_date_time(...) 6. └─lubridate:::.strptime(...) 7. ├─lubridate::force_tz(out, tzone = tz) 8. └─lubridate:::force_tz.default(out, tzone = tz) 9. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 10. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 11. ├─timechange:::from_posixct(...) 12. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) ── Error ('test-time_seq.R:332:3'): Vectorised time sequences ────────────────── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "GB" Backtrace: ▆ 1. └─lubridate::ymd_hms("2023-03-16 11:43:48", tz = "GB") at test-time_seq.R:332:2 2. └─lubridate:::.parse_xxx_hms(...) 3. └─lubridate::parse_date_time(...) 4. └─lubridate (local) .local_parse(x[to_parse], TRUE) 5. └─lubridate:::.parse_date_time(...) 6. └─lubridate:::.strptime(...) 7. ├─lubridate::force_tz(out, tzone = tz) 8. └─lubridate:::force_tz.default(out, tzone = tz) 9. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 10. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 11. ├─timechange:::from_posixct(...) 12. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) ── Error ('test-time_seq.R:369:3'): ftseq compared to time_seq ───────────────── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "GB" Backtrace: ▆ 1. └─lubridate::ymd_hms("2023-03-16 11:43:48", tz = "GB") at test-time_seq.R:369:2 2. └─lubridate:::.parse_xxx_hms(...) 3. └─lubridate::parse_date_time(...) 4. └─lubridate (local) .local_parse(x[to_parse], TRUE) 5. └─lubridate:::.parse_date_time(...) 6. └─lubridate:::.strptime(...) 7. ├─lubridate::force_tz(out, tzone = tz) 8. └─lubridate:::force_tz.default(out, tzone = tz) 9. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 10. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 11. ├─timechange:::from_posixct(...) 12. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) ── Error ('test-time_seq.R:420:3'): dates, datetimes and numeric increments ──── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "GB" Backtrace: ▆ 1. └─lubridate::ymd_hms("2023-03-16 11:43:48", tz = "GB") at test-time_seq.R:420:2 2. └─lubridate:::.parse_xxx_hms(...) 3. └─lubridate::parse_date_time(...) 4. └─lubridate (local) .local_parse(x[to_parse], TRUE) 5. └─lubridate:::.parse_date_time(...) 6. └─lubridate:::.strptime(...) 7. ├─lubridate::force_tz(out, tzone = tz) 8. └─lubridate:::force_tz.default(out, tzone = tz) 9. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 10. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 11. ├─timechange:::from_posixct(...) 12. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) ── Error ('test-time_summarise.R:4:3'): General tests ────────────────────────── Error in `C_force_tz(to_posixct(time), tz, roll_dst)`: CCTZ: Unrecognized output timezone: "GB" Backtrace: ▆ 1. └─lubridate::ymd_hms("2013-03-16 11:43:48", tz = "GB") at test-time_summarise.R:4:2 2. └─lubridate:::.parse_xxx_hms(...) 3. └─lubridate::parse_date_time(...) 4. └─lubridate (local) .local_parse(x[to_parse], TRUE) 5. └─lubridate:::.parse_date_time(...) 6. └─lubridate:::.strptime(...) 7. ├─lubridate::force_tz(out, tzone = tz) 8. └─lubridate:::force_tz.default(out, tzone = tz) 9. └─timechange::time_force_tz(time, tz = tzone, roll_dst = roll_dst) 10. └─timechange:::.force_tz(time, tz, tzout, roll_dst) 11. ├─timechange:::from_posixct(...) 12. └─timechange:::C_force_tz(to_posixct(time), tz, roll_dst) [ FAIL 15 | WARN 0 | SKIP 0 | PASS 707 ] Error: Test failures Execution halted * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [2s/2s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 3 NOTEs