Assert that all names are among table names of a dm
object
assert_all_tablenames.Rd
Assert that all names are among table names of a dm
object
Arguments
- db
(
dm
) input to check for the presence of tables.- tab
(
character
) the names of the tables to be checked.- null_ok
(
flag
) canx
be NULL.- qualifier
(
string
) to be returned if the check fails.
Examples
if (FALSE) {
assert_all_tablenames(dm::dm_nycflights13(), c("mpg", "new", "hoho"), qualifier = "first test:")
}