powered by
list
data.frame
Assert that all names are among names of a list of data.frame.
assert_all_tablenames(db, tab, null_ok = TRUE, qualifier = NULL)
invisible TRUE or an error message if the criteria are not fulfilled.
TRUE
(list of data.frame) input to check for the presence of tables.
(character) the names of the tables to be checked.
character
(flag) can x be NULL.
flag
x
(string) to be returned if the check fails.
string
lsd <- list( mtcars = mtcars, iris = iris ) assert_all_tablenames(lsd, c("mtcars", "iris"), qualifier = "first test:")
Run the code above in your browser using DataLab