You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently an expression passed to trace_position is captured with substitute() and evaluated strictly within the context of the data. This means the user cannot use environment variables with trace_position. Ideally the user would be able to include both environment and data variables such as in the example below, which does not work with ggtrace v0.2.0.
To accomplish this, need to include a data mask (with rlang::eval_tidy()) when evaluating trace_position
Currently an expression passed to
trace_position
is captured withsubstitute()
and evaluated strictly within the context of the data. This means the user cannot use environment variables withtrace_position
. Ideally the user would be able to include both environment and data variables such as in the example below, which does not work with ggtrace v0.2.0.To accomplish this, need to include a data mask (with
rlang::eval_tidy()
) when evaluatingtrace_position
The text was updated successfully, but these errors were encountered: