Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with @rsubset and multiple arguments #280

Closed
pdeffebach opened this issue Aug 4, 2021 · 0 comments · Fixed by #281
Closed

Error with @rsubset and multiple arguments #280

pdeffebach opened this issue Aug 4, 2021 · 0 comments · Fixed by #281

Comments

@pdeffebach
Copy link
Collaborator

julia> df = DataFrame(a = [1, 2, 3], b = [4, 5, 6]);

julia> @rsubset(df, :a > 1, :b > 5)
ERROR: LoadError: MethodError: no method matching create_args_vector(::Expr, ::Expr; wrap_byrow=true)
Closest candidates are:
  create_args_vector(::Any...) at /home/peterwd/Documents/Development/DataFramesMeta/src/parsing.jl:394 got unsupported keyword argument "wrap_byrow"
  create_args_vector(::Any; wrap_byrow) at /home/peterwd/Documents/Development/DataFramesMeta/src/parsing.jl:409
Stacktrace:
 [1] rsubset_helper(::Symbol, ::Expr, ::Vararg{Expr, N} where N)
   @ DataFramesMeta ~/Documents/Development/DataFramesMeta/src/macros.jl:648
 [2] var"@rsubset"(__source__::LineNumberNode, __module__::Module, x::Any, args::Vararg{Any, N} where N)
   @ DataFramesMeta ~/Documents/Development/DataFramesMeta/src/macros.jl:663
in expression starting at REPL[6]:1

Same happens with @rtransform. I see the easy fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant