CRAN Package Check Results for Package padr

Last updated on 2022-09-30 03:55:02 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6.0 45.38 80.77 126.15 ERROR
r-devel-linux-x86_64-debian-gcc 0.6.0 30.00 60.57 90.57 ERROR
r-devel-linux-x86_64-fedora-clang 0.6.0 191.83 ERROR
r-devel-linux-x86_64-fedora-gcc 0.6.0 162.95 ERROR
r-devel-windows-x86_64 0.6.0 58.00 132.00 190.00 ERROR
r-patched-linux-x86_64 0.6.0 33.92 76.49 110.41 OK
r-release-linux-x86_64 0.6.0 32.35 75.87 108.22 OK
r-release-macos-arm64 0.6.0 46.00 OK
r-release-macos-x86_64 0.6.0 68.00 OK
r-release-windows-x86_64 0.6.0 53.00 107.00 160.00 OK
r-oldrel-macos-arm64 0.6.0 48.00 OK
r-oldrel-macos-x86_64 0.6.0 63.00 OK
r-oldrel-windows-ix86+x86_64 0.6.0 100.00 158.00 258.00 NOTE

Check Details

Version: 0.6.0
Check: package subdirectories
Result: NOTE
    Problems with news in 'NEWS.md':
     Cannot extract version info from the following section titles:
     pad_int
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 0.6.0
Check: examples
Result: ERROR
    Running examples in 'padr-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: thicken
    > ### Title: Add a variable of a higher interval to a data frame
    > ### Aliases: thicken
    >
    > ### ** Examples
    >
    > x_hour <- seq(lubridate::ymd_hms('20160302 000000'), by = 'hour',
    + length.out = 200)
    > some_df <- data.frame(x_hour = x_hour)
    > thicken(some_df, 'week')
    Error in seq.int(0, to0 - from, by) : 'to' must be a finite number
    Calls: thicken -> span -> seq -> seq.Date
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.6.0
Check: tests
Result: ERROR
     Running 'testthat.R' [17s/19s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(padr)
     >
     > test_check("padr")
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 612 ]
    
     == Failed tests ================================================================
     -- Failure (test_span.R:73:3): shift_end_from_start gives correct output -------
     shift_end_from_start(gsae_week, as.Date("2015-12-25")) not equal to as.Date("2016-03-04").
     'is.NA' value mismatch: 0 in current 1 in target
     -- Failure (test_span.R:75:3): shift_end_from_start gives correct output -------
     shift_end_from_start(gsae_week, as.POSIXct("2015-12-25 00:04:01")) not equal to as.POSIXct("2016-03-04 00:04:01").
     1/1 mismatches
     [1] NA - 2016-03-04 00:04:01 == NA secs
     -- Error (test_thicken.R:111:3): column naming works properly ------------------
     Error in `seq.int(0, to0 - from, by)`: 'to' must be a finite number
     Backtrace:
     x
     1. +-testthat::expect_equal(...) at test_thicken.R:111:2
     2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. +-base::colnames(thicken(a_df, interval = "week"))
     5. | \-base::is.data.frame(x)
     6. \-padr::thicken(a_df, interval = "week")
     7. \-padr:::span(dt_var, interval_converted, start_val)
     8. +-base::seq(start_val, end_val, by = by_val)
     9. \-base::seq.Date(start_val, end_val, by = by_val)
    
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 612 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.6.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [12s/21s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(padr)
     >
     > test_check("padr")
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 612 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test_span.R:73:3): shift_end_from_start gives correct output ───────
     shift_end_from_start(gsae_week, as.Date("2015-12-25")) not equal to as.Date("2016-03-04").
     'is.NA' value mismatch: 0 in current 1 in target
     ── Failure (test_span.R:75:3): shift_end_from_start gives correct output ───────
     shift_end_from_start(gsae_week, as.POSIXct("2015-12-25 00:04:01")) not equal to as.POSIXct("2016-03-04 00:04:01").
     1/1 mismatches
     [1] NA - 2016-03-04 00:04:01 == NA secs
     ── Error (test_thicken.R:111:3): column naming works properly ──────────────────
     Error in `seq.int(0, to0 - from, by)`: 'to' must be a finite number
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test_thicken.R:111:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─base::colnames(thicken(a_df, interval = "week"))
     5. │ └─base::is.data.frame(x)
     6. └─padr::thicken(a_df, interval = "week")
     7. └─padr:::span(dt_var, interval_converted, start_val)
     8. ├─base::seq(start_val, end_val, by = by_val)
     9. └─base::seq.Date(start_val, end_val, by = by_val)
    
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 612 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.6.0
Check: examples
Result: ERROR
    Running examples in ‘padr-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: thicken
    > ### Title: Add a variable of a higher interval to a data frame
    > ### Aliases: thicken
    >
    > ### ** Examples
    >
    > x_hour <- seq(lubridate::ymd_hms('20160302 000000'), by = 'hour',
    + length.out = 200)
    > some_df <- data.frame(x_hour = x_hour)
    > thicken(some_df, 'week')
    Error in seq.int(0, to0 - from, by) : 'to' must be a finite number
    Calls: thicken -> span -> seq -> seq.Date
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 0.6.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [21s/57s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(padr)
     >
     > test_check("padr")
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 612 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test_span.R:73:3): shift_end_from_start gives correct output ───────
     shift_end_from_start(gsae_week, as.Date("2015-12-25")) not equal to as.Date("2016-03-04").
     'is.NA' value mismatch: 0 in current 1 in target
     ── Failure (test_span.R:75:3): shift_end_from_start gives correct output ───────
     shift_end_from_start(gsae_week, as.POSIXct("2015-12-25 00:04:01")) not equal to as.POSIXct("2016-03-04 00:04:01").
     1/1 mismatches
     [1] NA - 2016-03-04 00:04:01 == NA secs
     ── Error (test_thicken.R:111:3): column naming works properly ──────────────────
     Error in `seq.int(0, to0 - from, by)`: 'to' must be a finite number
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test_thicken.R:111:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─base::colnames(thicken(a_df, interval = "week"))
     5. │ └─base::is.data.frame(x)
     6. └─padr::thicken(a_df, interval = "week")
     7. └─padr:::span(dt_var, interval_converted, start_val)
     8. ├─base::seq(start_val, end_val, by = by_val)
     9. └─base::seq.Date(start_val, end_val, by = by_val)
    
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 612 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.6.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [21s/51s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(padr)
     >
     > test_check("padr")
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 612 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test_span.R:73:3): shift_end_from_start gives correct output ───────
     shift_end_from_start(gsae_week, as.Date("2015-12-25")) not equal to as.Date("2016-03-04").
     'is.NA' value mismatch: 0 in current 1 in target
     ── Failure (test_span.R:75:3): shift_end_from_start gives correct output ───────
     shift_end_from_start(gsae_week, as.POSIXct("2015-12-25 00:04:01")) not equal to as.POSIXct("2016-03-04 00:04:01").
     1/1 mismatches
     [1] NA - 2016-03-04 00:04:01 == NA secs
     ── Error (test_thicken.R:111:3): column naming works properly ──────────────────
     Error in `seq.int(0, to0 - from, by)`: 'to' must be a finite number
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test_thicken.R:111:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─base::colnames(thicken(a_df, interval = "week"))
     5. │ └─base::is.data.frame(x)
     6. └─padr::thicken(a_df, interval = "week")
     7. └─padr:::span(dt_var, interval_converted, start_val)
     8. ├─base::seq(start_val, end_val, by = by_val)
     9. └─base::seq.Date(start_val, end_val, by = by_val)
    
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 612 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.6.0
Check: tests
Result: ERROR
     Running 'testthat.R' [17s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(padr)
     >
     > test_check("padr")
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 612 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test_span.R:73:3): shift_end_from_start gives correct output ───────
     shift_end_from_start(gsae_week, as.Date("2015-12-25")) not equal to as.Date("2016-03-04").
     'is.NA' value mismatch: 0 in current 1 in target
     ── Failure (test_span.R:75:3): shift_end_from_start gives correct output ───────
     shift_end_from_start(gsae_week, as.POSIXct("2015-12-25 00:04:01")) not equal to as.POSIXct("2016-03-04 00:04:01").
     1/1 mismatches
     [1] NA - 2016-03-04 00:04:01 == NA secs
     ── Error (test_thicken.R:111:3): column naming works properly ──────────────────
     Error in `seq.int(0, to0 - from, by)`: 'to' must be a finite number
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test_thicken.R:111:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─base::colnames(thicken(a_df, interval = "week"))
     5. │ └─base::is.data.frame(x)
     6. └─padr::thicken(a_df, interval = "week")
     7. └─padr:::span(dt_var, interval_converted, start_val)
     8. ├─base::seq(start_val, end_val, by = by_val)
     9. └─base::seq.Date(start_val, end_val, by = by_val)
    
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 612 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64

Version: 0.6.0
Check: installed package size
Result: NOTE
     installed size is 5.2Mb
     sub-directories of 1Mb or more:
     data 1.7Mb
     doc 1.3Mb
     libs 2.0Mb
Flavor: r-oldrel-windows-ix86+x86_64