Skip to content

Commit

Permalink
Fix tidyselect import issue
Browse files Browse the repository at this point in the history
  • Loading branch information
billdenney committed Mar 11, 2020
1 parent 57cf2dc commit 0e1f5f7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Imports:
purrr,
rlang,
snakecase (>= 0.9.2),
tidyselect (>= 1.0.0),
tidyr (>= 0.7.0)
License: MIT + file LICENSE
LazyData: true
Expand Down
4 changes: 4 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,8 @@ export(use_first_valid_of)
importFrom(lubridate,ymd)
importFrom(lubridate,ymd_hms)
importFrom(magrittr,"%>%")
importFrom(rlang,dots_n)
importFrom(rlang,expr)
importFrom(rlang,syms)
importFrom(stats,na.omit)
importFrom(tidyselect,eval_select)
4 changes: 2 additions & 2 deletions R/get_dupes.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#'
#' # You can use tidyselect helpers to specify variables:
#' mtcars %>% get_dupes(weight = wt, starts_with("cy"))
#'

#' @importFrom tidyselect eval_select
#' @importFrom rlang expr dots_n syms
get_dupes <- function(dat, ...) {

expr <- rlang::expr(c(...))
Expand Down
1 change: 0 additions & 1 deletion man/get_dupes.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0e1f5f7

Please sign in to comment.