powered by
Convert a pipeable object into a function of "."
as_fn(pipeable, env = parent.frame())
a wrapr dot-pipe pipeable object
envirnonment to work in.
single function with signature (., env = parent.frame())
Note: writes "." into env.
# NOT RUN { p <- pkgfn("base::sin", "x") f <- as_fn(p) f(5) # }
Run the code above in your browser using DataLab