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

average_spc() : add further argument check for argument by (list-column not supported) #8

Open
philipp-baumann opened this issue Mar 26, 2020 · 0 comments

Comments

@philipp-baumann
Copy link
Owner

philipp-baumann commented Mar 26, 2020

average_spc(spc_tbl, by = "group_id", column_in = "spc"),

data.table::setkey raises an error downstream in the call stack if by is of type list (list-column).

"Error in setkeyv(x, cols, verbose = verbose, physical = physical) :
Column 'id' is type 'list' which is not supported as a key column type, currently."

average_spc() should therefore receive an enhancement to return a more informative error with regard to the argument supplied to the user.

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

No branches or pull requests

1 participant