Skip to contents

Validate if a cdm_table is a valid achilles table.

Usage

validateAchillesTable(
  table,
  version = NULL,
  cast = FALSE,
  empty = TRUE,
  nm = deparse1(substitute(table), backtick = TRUE),
  call = parent.frame()
)

Arguments

table

A cdm_table to validate.

version

The cdm vocabulary version.

cast

Whether to cast columns to required type.

empty

Whether it can be empty.

nm

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

call

Passed to cli call.

Value

invisible achilles table