assert_all_tablenames {dunlin} | R Documentation |
Assert that all names are among names of a list
of data.frame
.
Description
Assert that all names are among names of a list
of data.frame
.
Usage
assert_all_tablenames(db, tab, null_ok = TRUE, qualifier = NULL)
Arguments
db |
( |
tab |
( |
null_ok |
( |
qualifier |
( |
Value
invisible TRUE
or an error message if the criteria are not fulfilled.
Examples
lsd <- list(
mtcars = mtcars,
iris = iris
)
assert_all_tablenames(lsd, c("mtcars", "iris"), qualifier = "first test:")
[Package dunlin version 0.1.7 Index]