Apply user transformations depths-first.
user_transform(expr, fun = expr, env = rlang::caller_env())
expr | The expression to transform -- typically a function body. |
---|---|
fun | The actual function to transform. |
env | The environment where functions can be found. |
Rewritten expression