Apply user transformations depths-first.

user_transform(expr, fun = expr, env = rlang::caller_env())

Arguments

expr

The expression to transform -- typically a function body.

fun

The actual function to transform.

env

The environment where functions can be found.

Value

Rewritten expression