Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Distinguish data masking from selections
* Remove use of .data$account_id in selection and arranging of data frames in transaction function. * Use data masking in `dplyr::arrange()` and so change to `dplyr::arrange(.data[["account_id"]])`. This eliminates global variable warnings and avoids `arrange()` not working with quoted variable. * Use quoted variable of "account_id" with `dplyr::select()`. * Move use of `arrange(account_id)` to end of function so it is only written once, not for each possible outcome. * Fixes tidyselect issue 169: r-lib/tidyselect#169
- Loading branch information
1 parent
e2658e6
commit 3ff7566
Showing
1 changed file
with
20 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters