CRAN Package Check Results for Package tidyft

Last updated on 2022-12-19 07:53:43 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.5 5.44 62.01 67.45 ERROR
r-devel-linux-x86_64-debian-gcc 0.4.5 4.26 46.70 50.96 ERROR
r-devel-linux-x86_64-fedora-clang 0.4.5 85.41 ERROR
r-devel-linux-x86_64-fedora-gcc 0.4.5 87.52 ERROR
r-devel-windows-x86_64 0.4.5 8.00 96.00 104.00 ERROR
r-patched-linux-x86_64 0.4.5 6.06 57.79 63.85 ERROR
r-release-linux-x86_64 0.4.5 5.33 56.59 61.92 ERROR
r-release-macos-arm64 0.4.5 29.00 NOTE
r-release-macos-x86_64 0.4.5 39.00 NOTE
r-release-windows-x86_64 0.4.5 39.00 97.00 136.00 ERROR
r-oldrel-macos-arm64 0.4.5 41.00 NOTE
r-oldrel-macos-x86_64 0.4.5 47.00 NOTE
r-oldrel-windows-ix86+x86_64 0.4.5 13.00 85.00 98.00 ERROR

Check Details

Version: 0.4.5
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
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, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.4.5
Check: examples
Result: ERROR
    Running examples in 'tidyft-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: unite
    > ### Title: Unite multiple columns into one by pasting strings together
    > ### Aliases: unite
    >
    > ### ** Examples
    >
    > df <- CJ(x = c("a", NA), y = c("b", NA))
    > df
    Key: <x, y>
     x y
     <char> <char>
    1: <NA> <NA>
    2: <NA> b
    3: a <NA>
    4: a b
    >
    > # Treat missing value as NA, default
    > df %>% unite("z", x:y, remove = FALSE)
    Key: <x, y>
     x y z
     <char> <char> <char>
    1: <NA> <NA> <NA>
    2: <NA> b <NA>
    3: a <NA> <NA>
    4: a b a_b
    > # Treat missing value as character "NA"
    > df %>% unite("z", x:y, na2char = TRUE, remove = FALSE)
    Key: <x, y>
     x y z
     <char> <char> <char>
    1: <NA> <NA> NA_NA
    2: <NA> b NA_b
    3: a <NA> a_NA
    4: a b a_b
    > # the unite has memory, "z" would not be removed in new operations
    > # here we remove the original columns ("x" and "y")
    > df %>% unite("xy", x:y,remove = TRUE)
     z xy
     <char> <char>
    1: NA_NA <NA>
    2: NA_b <NA>
    3: a_NA <NA>
    4: a_b a_b
    >
    > # Select all columns
    > iris %>% as.data.table %>% unite("merged_name","")
    Error in `str_subset()`:
    ! `pattern` can't be the empty string (`""`).
    Backtrace:
     x
     1. +-iris %>% as.data.table %>% unite("merged_name", "")
     2. +-tidyft::unite(., "merged_name", "")
     3. | \-dt %>% select_dt(...)
     4. +-tidyft::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
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.4.5
Check: examples
Result: ERROR
    Running examples in ‘tidyft-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: unite
    > ### Title: Unite multiple columns into one by pasting strings together
    > ### Aliases: unite
    >
    > ### ** Examples
    >
    > df <- CJ(x = c("a", NA), y = c("b", NA))
    > df
    Key: <x, y>
     x y
     <char> <char>
    1: <NA> <NA>
    2: <NA> b
    3: a <NA>
    4: a b
    >
    > # Treat missing value as NA, default
    > df %>% unite("z", x:y, remove = FALSE)
    Key: <x, y>
     x y z
     <char> <char> <char>
    1: <NA> <NA> <NA>
    2: <NA> b <NA>
    3: a <NA> <NA>
    4: a b a_b
    > # Treat missing value as character "NA"
    > df %>% unite("z", x:y, na2char = TRUE, remove = FALSE)
    Key: <x, y>
     x y z
     <char> <char> <char>
    1: <NA> <NA> NA_NA
    2: <NA> b NA_b
    3: a <NA> a_NA
    4: a b a_b
    > # the unite has memory, "z" would not be removed in new operations
    > # here we remove the original columns ("x" and "y")
    > df %>% unite("xy", x:y,remove = TRUE)
     z xy
     <char> <char>
    1: NA_NA <NA>
    2: NA_b <NA>
    3: a_NA <NA>
    4: a_b a_b
    >
    > # Select all columns
    > iris %>% as.data.table %>% unite("merged_name","")
    Error in `str_subset()`:
    ! `pattern` can't be the empty string (`""`).
    Backtrace:
     ▆
     1. ├─iris %>% as.data.table %>% unite("merged_name", "")
     2. ├─tidyft::unite(., "merged_name", "")
     3. │ └─dt %>% select_dt(...)
     4. ├─tidyft::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: 0.4.5
Check: Rd cross-references
Result: NOTE
    Undeclared packages ‘tidyfst’, ‘tidyr’, ‘fastDummies’ in Rd xrefs
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4.5
Check: examples
Result: ERROR
    Running examples in ‘tidyft-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: unite
    > ### Title: Unite multiple columns into one by pasting strings together
    > ### Aliases: unite
    >
    > ### ** Examples
    >
    > df <- CJ(x = c("a", NA), y = c("b", NA))
    > df
    Key: <x, y>
     x y
     <char> <char>
    1: <NA> <NA>
    2: <NA> b
    3: a <NA>
    4: a b
    >
    > # Treat missing value as NA, default
    > df %>% unite("z", x:y, remove = FALSE)
    Key: <x, y>
     x y z
     <char> <char> <char>
    1: <NA> <NA> <NA>
    2: <NA> b <NA>
    3: a <NA> <NA>
    4: a b a_b
    > # Treat missing value as character "NA"
    > df %>% unite("z", x:y, na2char = TRUE, remove = FALSE)
    Key: <x, y>
     x y z
     <char> <char> <char>
    1: <NA> <NA> NA_NA
    2: <NA> b NA_b
    3: a <NA> a_NA
    4: a b a_b
    > # the unite has memory, "z" would not be removed in new operations
    > # here we remove the original columns ("x" and "y")
    > df %>% unite("xy", x:y,remove = TRUE)
     z xy
     <char> <char>
    1: NA_NA <NA>
    2: NA_b <NA>
    3: a_NA <NA>
    4: a_b a_b
    >
    > # Select all columns
    > iris %>% as.data.table %>% unite("merged_name","")
    Error in `str_subset()`:
    ! `pattern` can't be the empty string (`""`).
    Backtrace:
     ▆
     1. ├─iris %>% as.data.table %>% unite("merged_name", "")
     2. ├─tidyft::unite(., "merged_name", "")
     3. │ └─dt %>% select_dt(...)
     4. ├─tidyft::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

Version: 0.4.5
Check: examples
Result: ERROR
    Running examples in 'tidyft-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: unite
    > ### Title: Unite multiple columns into one by pasting strings together
    > ### Aliases: unite
    >
    > ### ** Examples
    >
    > df <- CJ(x = c("a", NA), y = c("b", NA))
    > df
    Key: <x, y>
     x y
     <char> <char>
    1: <NA> <NA>
    2: <NA> b
    3: a <NA>
    4: a b
    >
    > # Treat missing value as NA, default
    > df %>% unite("z", x:y, remove = FALSE)
    Key: <x, y>
     x y z
     <char> <char> <char>
    1: <NA> <NA> <NA>
    2: <NA> b <NA>
    3: a <NA> <NA>
    4: a b a_b
    > # Treat missing value as character "NA"
    > df %>% unite("z", x:y, na2char = TRUE, remove = FALSE)
    Key: <x, y>
     x y z
     <char> <char> <char>
    1: <NA> <NA> NA_NA
    2: <NA> b NA_b
    3: a <NA> a_NA
    4: a b a_b
    > # the unite has memory, "z" would not be removed in new operations
    > # here we remove the original columns ("x" and "y")
    > df %>% unite("xy", x:y,remove = TRUE)
     z xy
     <char> <char>
    1: NA_NA <NA>
    2: NA_b <NA>
    3: a_NA <NA>
    4: a_b a_b
    >
    > # Select all columns
    > iris %>% as.data.table %>% unite("merged_name","")
    Error in `str_subset()`:
    ! `pattern` can't be the empty string (`""`).
    Backtrace:
     x
     1. +-iris %>% as.data.table %>% unite("merged_name", "")
     2. +-tidyft::unite(., "merged_name", "")
     3. | \-dt %>% select_dt(...)
     4. +-tidyft::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
Flavor: r-oldrel-windows-ix86+x86_64