CRAN Package Check Results for Package padr

Last updated on 2023-03-20 06:50:44 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6.2 OK
r-devel-linux-x86_64-debian-gcc 0.6.2 32.51 60.68 93.19 ERROR
r-devel-linux-x86_64-fedora-clang 0.6.2 190.70 OK
r-devel-linux-x86_64-fedora-gcc 0.6.2 176.72 OK
r-patched-linux-x86_64 0.6.2 33.70 88.36 122.06 OK
r-release-linux-x86_64 0.6.2 32.98 88.88 121.86 OK
r-release-macos-arm64 0.6.2 49.00 OK
r-release-macos-x86_64 0.6.2 63.00 OK
r-release-windows-x86_64 0.6.2 46.00 146.00 192.00 OK
r-oldrel-macos-arm64 0.6.2 55.00 OK
r-oldrel-macos-x86_64 0.6.2 72.00 OK
r-oldrel-windows-ix86+x86_64 0.6.2 97.00 184.00 281.00 NOTE

Check Details

Version: 0.6.2
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: fill_by_value
    > ### Title: Fill missing values by a single value
    > ### Aliases: fill_by_value
    >
    > ### ** Examples
    >
    > library(dplyr) # for the pipe operator
    
    Attaching package: ‘dplyr’
    
    The following objects are masked from ‘package:stats’:
    
     filter, lag
    
    The following objects are masked from ‘package:base’:
    
     intersect, setdiff, setequal, union
    
    > x <- seq(as.Date('2016-01-01'), by = 'day', length.out = 366)
    > x <- x[sample(1:366, 200)] %>% sort
    > x_df <- data_frame(x = x,
    + y1 = runif(200, 10, 20) %>% round,
    + y2 = runif(200, 1, 50) %>% round,
    + y3 = runif(200, 20, 40) %>% round,
    + y4 = sample(letters[1:5], 200, replace = TRUE))
    > x_padded <- x_df %>% pad
    pad applied on the interval: day
    > x_padded %>% fill_by_value(y1)
    Error in vectbl_assign(x[[j]], cells[[j]], value) :
     DLL requires the use of native symbols
    Calls: %>% ... tbl_subassign_matrix -> withCallingHandlers -> vectbl_assign
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.6.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [17s/25s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(padr)
     >
     > test_check("padr")
     [ FAIL 5 | WARN 11 | SKIP 0 | PASS 589 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test_fill_functions.R:18:3'): fill_ functions break with wrong input ──
     `x_df %>% fill_by_value(y1)` threw an error.
     Message: DLL requires the use of native symbols
     Class: simpleError/error/condition
     Backtrace:
     ▆
     1. ├─testthat::expect_error(x_df %>% fill_by_value(y1), NA) at test_fill_functions.R:18:2
     2. │ └─testthat:::quasi_capture(...)
     3. │ ├─testthat (local) .capture(...)
     4. │ │ └─base::withCallingHandlers(...)
     5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. ├─x_df %>% fill_by_value(y1)
     7. └─padr::fill_by_value(., y1)
     8. ├─base::`[<-`(`*tmp*`, is.na(val), value = `<dbl>`)
     9. └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(val), value = `<dbl>`)
     10. └─tibble:::tbl_subassign_matrix(x, j, value, j_arg, substitute(value))
     11. ├─base::withCallingHandlers(...)
     12. └─tibble:::vectbl_assign(x[[j]], cells[[j]], value)
     ── Error ('test_fill_functions.R:24:3'): fill_by_value gives expected outcomes ──
     Error in `vectbl_assign(x[[j]], cells[[j]], value)`: DLL requires the use of native symbols
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(fill_by_value(x_df, y1)$y1[2], 0) at test_fill_functions.R:24:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─padr::fill_by_value(x_df, y1)
     5. ├─base::`[<-`(`*tmp*`, is.na(val), value = `<dbl>`)
     6. └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(val), value = `<dbl>`)
     7. └─tibble:::tbl_subassign_matrix(x, j, value, j_arg, substitute(value))
     8. ├─base::withCallingHandlers(...)
     9. └─tibble:::vectbl_assign(x[[j]], cells[[j]], value)
     ── Error ('test_pad.R:263:3'): pad works properly on with NA values ────────────
     Error in `vectbl_assign(x[[j]], cells[[j]], value)`: DLL requires the use of native symbols
     Backtrace:
     ▆
     1. ├─coffee %>% thicken("day", "d") %>% count(d) %>% pad %>% ... at test_pad.R:263:2
     2. └─padr::fill_by_value(.)
     3. ├─base::`[<-`(`*tmp*`, is.na(val), value = `<dbl>`)
     4. └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(val), value = `<dbl>`)
     5. └─tibble:::tbl_subassign_matrix(x, j, value, j_arg, substitute(value))
     6. ├─base::withCallingHandlers(...)
     7. └─tibble:::vectbl_assign(x[[j]], cells[[j]], value)
     ── Error ('test_pad_cust.R:56:3'): pad_cust_group_span ─────────────────────────
     Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
     Backtrace:
     ▆
     1. ├─base::`[<-`(`*tmp*`, c(2, 7), "grp2", value = `<lgl>`) at test_pad_cust.R:56:2
     2. └─tibble:::`[<-.tbl_df`(`*tmp*`, c(2, 7), "grp2", value = `<lgl>`) at test_pad_cust.R:56:2
     3. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
     4. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
     5. ├─base::withCallingHandlers(...)
     6. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
     ── Error ('test_thicken.R:130:3'): thicken works properly on NA values ─────────
     Error in `vectbl_assign(x[[j]], cells[[j]], value)`: DLL requires the use of native symbols
     Backtrace:
     ▆
     1. ├─... %>% fill_by_value() at test_thicken.R:130:2
     2. └─padr::fill_by_value(.)
     3. ├─base::`[<-`(`*tmp*`, is.na(val), value = `<dbl>`)
     4. └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(val), value = `<dbl>`)
     5. └─tibble:::tbl_subassign_matrix(x, j, value, j_arg, substitute(value))
     6. ├─base::withCallingHandlers(...)
     7. └─tibble:::vectbl_assign(x[[j]], cells[[j]], value)
    
     [ FAIL 5 | WARN 11 | SKIP 0 | PASS 589 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.6.2
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘padr.Rmd’ using rmarkdown
    Quitting from lines 27-36 (padr.Rmd)
    Error: processing vignette ‘padr.Rmd’ failed with diagnostics:
    DLL requires the use of native symbols
    --- failed re-building ‘padr.Rmd’
    
    --- re-building ‘padr_custom.Rmd’ using rmarkdown
    Quitting from lines 19-41 (padr_custom.Rmd)
    Error: processing vignette ‘padr_custom.Rmd’ failed with diagnostics:
    DLL requires the use of native symbols
    --- failed re-building ‘padr_custom.Rmd’
    
    --- re-building ‘padr_implementation.Rmd’ using rmarkdown
    --- finished re-building ‘padr_implementation.Rmd’
    
    SUMMARY: processing the following files failed:
     ‘padr.Rmd’ ‘padr_custom.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.6.2
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