Skip to content

Commit

Permalink
adding n to globalVariables
Browse files Browse the repository at this point in the history
  • Loading branch information
sfirke committed Jun 21, 2016
1 parent 55b018e commit aeeafee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/janitor.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
#' @importFrom dplyr %>%
NULL
## quiets concerns of R CMD check re: the .'s that appear in pipelines
if(getRversion() >= "2.15.1") utils::globalVariables(c("."))
## and the "n" that is produced by dplyr::count() in a pipeline
if(getRversion() >= "2.15.1") utils::globalVariables(c(".", "n"))

0 comments on commit aeeafee

Please sign in to comment.