assert_one_tablenames {dunlin}R Documentation

Assert that at least one name is among table names of a list of data.frame.

Description

Assert that at least one name is among table names of a list of data.frame.

Usage

assert_one_tablenames(db, tab, null_ok = TRUE, qualifier = NULL)

Arguments

db

(list of data.frame) input to check for the presence or tables.

tab

(character) the names of the tables to be checked.

null_ok

(flag) can x be NULL.

qualifier

(string) to be returned if the check fails.

Value

invisible TRUE or an error message if the criteria are not fulfilled.


[Package dunlin version 0.1.10 Index]