Locate and resolve the underlying problem. 'debug' adds additional columns to the output to help you 'error', the default, will throw an error. What should happen if a value separates into too few See vctrs::vec_as_names() for more details on these terms and the Tidyr_legacy: use the name repair from tidyr 0.8.Ī formula: a purrr-style anonymous function (see rlang::as_function()) 'universal': make the names unique and syntactic 'check_unique': (the default), no name repair, but check they are unique,
'unique': make sure names are unique and not empty, 'minimal': no name repair or checks, beyond basic existence, Used to check that output data frame has valid Required when cols selects multiple columns.įor separate_wider_delim() you can specify instead of names, in whichĬase the names will be generated from the source column name, names_sep, Of the input column name followed by the separator followed by the If supplied, output names will be composed To appear in the output the number of non- NA elements determines the Use NA if there are components that you don't want namesįor separate_wider_delim(), a character vector of outputĬolumn names. These dots are for future extensions and must be empty. Stringr::regex() and friends to split in other ways. By default, it is interpreted as a fixed string use For separate_wider_delim(), a string giving the delimiterīetween values.