Skip to contents

Make functions from utils::getParseData() output

Usage

make_fxn(x)

make_fxns(x)

Arguments

x

for make_fxn, a data.frame, as output from utils::getParseData(); for make_fxns, a list of those

Value

for make_fxn a function as a character string; for make_fxns, a list of those

Examples

if (FALSE) { # \dontrun{
foo <- function(x) {
  if (x == 1) x else 5
}
foo
f <- mutate_one(foo)
f
x = f
make_fxn(f)

bar <- function(w) {
  if (w == 10) w else 5
}
g <- mutate_one(bar)
make_fxns(list(f, g))
} # }