R/utils.R

Defines functions dispatch_error

dispatch_error <- function(iform, A) {
  stop(
    glue::glue(
      "{class(iform)[1]} objects cannot transform objects of type {class(A)}."
    ),
    call. = FALSE
  )
}

Try the invertiforms package in your browser

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

invertiforms documentation built on Nov. 25, 2022, 5:05 p.m.