R/assert-has-slot.R

Defines functions assert_has_slot

Documented in assert_has_slot

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

Try the assertive.properties package in your browser

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

assertive.properties documentation built on April 21, 2022, 5:13 p.m.