Learn R Programming

omopgenerics (version 1.4.1)

validateCdmTable: Validate if a table is a valid cdm_table object.

Description

Validate if a table is a valid cdm_table object.

Usage

validateCdmTable(
  table,
  name = NULL,
  empty = TRUE,
  nm = deparse1(substitute(table), backtick = TRUE),
  call = parent.frame()
)

Value

The table or an error message.

Arguments

table

Object to validate.

name

If we want to validate that the table has a specific name.

empty

Whether it can be empty.

nm

Name to use in error messages. Defaults to the expression supplied to table.

call

Call argument passed to cli functions.