R/assert-is-type-data.table.R

Defines functions assert_is_data.table

Documented in assert_is_data.table

#' @rdname is_data.table
#' @export
assert_is_data.table <- function(x, 
  severity = getOption("assertive.severity", "stop"))
{                                                         
  assert_engine(
    is_data.table, 
    x, 
    .xname = get_name_in_parent(x),
    severity = severity
  )
}

Try the assertive.types package in your browser

Any scripts or data that you put into this service are public.

assertive.types documentation built on May 1, 2019, 10:31 p.m.