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
Error: Problem with `mutate()` input `data`.
x fun = apply_func not a valid option.
i Input `data` is `map(label, calculate_period_volume, data = FANG)`.
I think the issue is that tq_transmute/tq_mutate is expecting the name of the function, but would it be possible to change this so that if mutate_fun is a string it just uses the function named in the string? I guess for validity you would also need to ensure that the value of the string is on the approved list if you want to preserve that feature?
Happy to help out in fixing this if I can as I think it will be useful.
The text was updated successfully, but these errors were encountered:
I am trying to create a function that takes a list of aggregation functions and applies them in sequence.
Here is a short reprex:
The error message for this is
I think the issue is that tq_transmute/tq_mutate is expecting the name of the function, but would it be possible to change this so that if mutate_fun is a string it just uses the function named in the string? I guess for validity you would also need to ensure that the value of the string is on the approved list if you want to preserve that feature?
Happy to help out in fixing this if I can as I think it will be useful.
The text was updated successfully, but these errors were encountered: