From aeeafeef788b6eb15f521c7baecab57484d32bb8 Mon Sep 17 00:00:00 2001 From: Sam Firke Date: Tue, 21 Jun 2016 13:44:35 -0400 Subject: [PATCH] adding n to globalVariables ala https://github.com/smbache/magrittr/issues/29 --- R/janitor.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/janitor.R b/R/janitor.R index 4770fe79..dea278c1 100644 --- a/R/janitor.R +++ b/R/janitor.R @@ -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(".")) \ No newline at end of file +## and the "n" that is produced by dplyr::count() in a pipeline +if(getRversion() >= "2.15.1") utils::globalVariables(c(".", "n")) \ No newline at end of file