Closed ddsjoberg closed 1 month ago
This is the section of the code that parses the call:
x_rhs <- f_rhs(x)
x_fn <- call_name(x_rhs)
x_args <- call_args(x_rhs)
f_rhs()
can be replaced with quo_get_expr()
call_name()
, I think we need to include call_ns()
that grabs the namespace. Then we'll need to construct the calls using both the namespace and the function name.We should also include a check with is_call_simple()
because these functions only parse simple calls.
I think it may be a scoping/env issue?
Created on 2024-05-08 with reprex v2.1.0