'LazyData' is specified without a 'data' directory
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
'LazyData' is specified without a 'data' directory
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
Undeclared packages ‘tidyfst’, ‘tidyr’, ‘fastDummies’ in Rd xrefs
'LazyData' is specified without a 'data' directory
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
'LazyData' is specified without a 'data' directory
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
'LazyData' is specified without a 'data' directory
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
'LazyData' is specified without a 'data' directory
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
'LazyData' is specified without a 'data' directory
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
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
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
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
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