check_no_overlap_colnums function

Check that Colnum Vectors do not Overlap

Check that Colnum Vectors do not Overlap

Given a named list of colnum vectors, like those produced by tidyselect::eval_select(), throw an error if there is an overlap.

check_no_overlap_colnums(x)

Arguments

  • x: A named list of integer vectors.

Returns

TRUE, invisibly

Examples

x <- list(arg1 = c(age = 1L), arg2 = c(gender = 4L, region = 5L)) check_no_overlap_colnums(x)

See Also

tidyselect::eval_select()