-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
1. Use NSE
Currently, one has to pass a string with the object name:
pick("name")It would be nice to also use NSE like in pack. Then the following would be equivalent.
pick(name)To allow passing variables containing the name, rlang/dplyr syntax could be implemented.
2. Short form
Currently, one has to use pick() as follows to save it to an object.
name <- pick("name")In most cases, pick is used interactively. We might consider an additional function pick2() (or similar) as a shortcut to assign an object with the same name automatically to the current env. Then, the following lines would be equivalent.
name <- pick("name")
pick2("name")And with additional NSE
pick2(name)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels