CRAN Package Check Results for Package tidyfst

Last updated on 2022-12-05 11:51:54 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.7.5 5.91 128.18 134.09 OK
r-devel-linux-x86_64-debian-gcc 1.7.5 5.69 94.58 100.27 ERROR
r-devel-linux-x86_64-fedora-clang 1.7.5 176.00 ERROR
r-devel-linux-x86_64-fedora-gcc 1.7.5 171.91 ERROR
r-devel-windows-x86_64 1.7.5 70.00 166.00 236.00 ERROR
r-patched-linux-x86_64 1.7.5 11.13 117.52 128.65 ERROR
r-release-linux-x86_64 1.7.5 6.34 103.92 110.26 ERROR
r-release-macos-arm64 1.7.5 48.00 OK
r-release-macos-x86_64 1.7.5 61.00 OK
r-release-windows-x86_64 1.7.5 46.00 164.00 210.00 ERROR
r-oldrel-macos-arm64 1.7.5 52.00 OK
r-oldrel-macos-x86_64 1.7.5 69.00 OK
r-oldrel-windows-ix86+x86_64 1.7.5 12.00 149.00 161.00 OK

Check Details

Version: 1.7.5
Check: examples
Result: ERROR
    Running examples in ‘tidyfst-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: unite_dt
    > ### Title: Unite multiple columns into one by pasting strings together
    > ### Aliases: unite_dt
    >
    > ### ** Examples
    >
    > df <- expand.grid(x = c("a", NA), y = c("b", NA))
    > df
     x y
    1 a b
    2 <NA> b
    3 a <NA>
    4 <NA> <NA>
    >
    > # Treat missing value as NA, default
    > df %>% unite_dt("z", x:y, remove = FALSE)
     x y z
     <fctr> <fctr> <char>
    1: a b a_b
    2: <NA> b <NA>
    3: a <NA> <NA>
    4: <NA> <NA> <NA>
    > # Treat missing value as character "NA"
    > df %>% unite_dt("z", x:y, na2char = TRUE, remove = FALSE)
     x y z
     <fctr> <fctr> <char>
    1: a b a_b
    2: <NA> b NA_b
    3: a <NA> a_NA
    4: <NA> <NA> NA_NA
    > df %>%
    + unite_dt("xy", x:y)
     x y xy
     <fctr> <fctr> <char>
    1: a b a_b
    2: <NA> b <NA>
    3: a <NA> <NA>
    4: <NA> <NA> <NA>
    >
    > # Select all columns
    > iris %>% unite_dt("merged_name","")
    Error in `str_subset()`:
    ! `pattern` can't be the empty string (`""`).
    Backtrace:
     ▆
     1. ├─iris %>% unite_dt("merged_name", "")
     2. ├─tidyfst::unite_dt(., "merged_name", "")
     3. │ └─dt %>% select_dt(...)
     4. ├─tidyfst::select_dt(., ...)
     5. │ └─... %>% str_c(collapse = ",")
     6. ├─stringr::str_c(., collapse = ",")
     7. └─stringr::str_subset(names(dt), ., negate = negate)
     8. └─stringr:::no_empty()
     9. └─cli::cli_abort(...)
     10. └─rlang::abort(...)
    Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.7.5
Check: Rd cross-references
Result: NOTE
    Undeclared packages ‘fastDummies’, ‘widyr’, ‘pacman’, ‘sjmisc’ in Rd xrefs
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.7.5
Check: examples
Result: ERROR
    Running examples in ‘tidyfst-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: unite_dt
    > ### Title: Unite multiple columns into one by pasting strings together
    > ### Aliases: unite_dt
    >
    > ### ** Examples
    >
    > df <- expand.grid(x = c("a", NA), y = c("b", NA))
    > df
     x y
    1 a b
    2 <NA> b
    3 a <NA>
    4 <NA> <NA>
    >
    > # Treat missing value as NA, default
    > df %>% unite_dt("z", x:y, remove = FALSE)
     x y z
     <fctr> <fctr> <char>
    1: a b a_b
    2: <NA> b <NA>
    3: a <NA> <NA>
    4: <NA> <NA> <NA>
    > # Treat missing value as character "NA"
    > df %>% unite_dt("z", x:y, na2char = TRUE, remove = FALSE)
     x y z
     <fctr> <fctr> <char>
    1: a b a_b
    2: <NA> b NA_b
    3: a <NA> a_NA
    4: <NA> <NA> NA_NA
    > df %>%
    + unite_dt("xy", x:y)
     x y xy
     <fctr> <fctr> <char>
    1: a b a_b
    2: <NA> b <NA>
    3: a <NA> <NA>
    4: <NA> <NA> <NA>
    >
    > # Select all columns
    > iris %>% unite_dt("merged_name","")
    Error in `str_subset()`:
    ! `pattern` can't be the empty string (`""`).
    Backtrace:
     ▆
     1. ├─iris %>% unite_dt("merged_name", "")
     2. ├─tidyfst::unite_dt(., "merged_name", "")
     3. │ └─dt %>% select_dt(...)
     4. ├─tidyfst::select_dt(., ...)
     5. │ └─... %>% str_c(collapse = ",")
     6. ├─stringr::str_c(., collapse = ",")
     7. └─stringr::str_subset(names(dt), ., negate = negate)
     8. └─stringr:::no_empty()
     9. └─cli::cli_abort(...)
     10. └─rlang::abort(...)
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64