check_no_overlap_colnums: Check that Colnum Vectors do not Overlap

View source: R/check-functions.R

check_no_overlap_colnumsR Documentation

Check that Colnum Vectors do not Overlap

Description

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

Usage

check_no_overlap_colnums(x)

Arguments

x

A named list of integer vectors.

Value

TRUE, invisibly

See Also

tidyselect::eval_select()

Examples

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

poputils documentation built on Aug. 8, 2025, 6:21 p.m.