with.pkg_ref | R Documentation |
pkg_ref
objects are environments and can be passed to with
in much the same way. This specialized function makes sure that any fields
within the pkg_ref
have been appropriately evaluated before trying
to execute the expression.
## S3 method for class 'pkg_ref'
with(data, expr, ...)
data |
data to use for constructing an environment. For the
default |
expr |
expression to evaluate; particularly for { a <- somefun() b <- otherfun() ..... rm(unused1, temp) } |
... |
arguments to be passed to (future) methods. |
the value of the evaluated expr.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.