Learn R Programming

glue (version 1.5.0)

identity_transformer: Parse and Evaluate R code

Description

This is a simple wrapper around eval(parse()), used as the default transformer.

Usage

identity_transformer(text, envir)

Arguments

text

Text (typically) R code to parse and evaluate.

envir

environment to evaluate the code in

See Also

vignette("transformers", "glue") for documentation on creating custom glue transformers and some common use cases.