-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi, it seems like there might be a bug when using @mutate to create a new variable as the log of another one. Below is a simple example for such a case, and the error it produces in the latest release v0.16.5.
using TidierData
df = DataFrame(a = 'a':'e', b = 1.0:5.0);
df = @chain df begin
@mutate(log_b = log(b))
end
# Error it produces:
ERROR: MethodError: objects of type Base.RefValue{Bool} are not callable
The object of type `Base.RefValue{Bool}` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object.
kdpsingh
Metadata
Metadata
Assignees
Labels
No labels