R/deparse.R

Defines functions deparse

deparse <- function(x) {
  # This function was necessary in response to:
  # https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17378
  # which led to an incorrect behavior when x is an S4 object containing
  # a formula. This function will override the default behaviour of base to
  # conform with the idea of how 'deparse' should work within 'dat'.
  base::deparse(asS3(x))
}

Try the dat package in your browser

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

dat documentation built on July 1, 2020, 7:11 p.m.