dwww Home | Show directory contents | Find package

# separate_longer_delim() validates its inputs

    Code
      df %>% separate_longer_delim()
    Condition
      Error in `separate_longer_delim()`:
      ! `cols` is absent but must be supplied.
    Code
      df %>% separate_longer_delim(x, sep = 1)
    Condition
      Error in `separate_longer_delim()`:
      ! `delim` must be a single string, not absent.

# separate_longer_position() validates its inputs

    Code
      df %>% separate_longer_position()
    Condition
      Error in `separate_longer_position()`:
      ! `cols` is absent but must be supplied.
    Code
      df %>% separate_longer_position(y, width = 1)
    Condition
      Error in `separate_longer_position()`:
      ! Can't subset columns that don't exist.
      x Column `y` doesn't exist.
    Code
      df %>% separate_longer_position(x, width = 1.5)
    Condition
      Error in `separate_longer_position()`:
      ! `width` must be a whole number, not the number 1.5.

Generated by dwww version 1.15 on Tue Jul 2 08:36:37 CEST 2024.