assert_one_tablenames: Assert that at least one name is among table names of a...

View source: R/assertions.R

assert_one_tablenamesR 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.


dunlin documentation built on Oct. 31, 2024, 5:07 p.m.