Vectorize corpusQuery and corpusStats

Change-Id: If2deeeeef2b2d64169dd21e5514dac6f8e458b32
diff --git a/R/KorAPConnection.R b/R/KorAPConnection.R
index fa8f1f5..85d8997 100644
--- a/R/KorAPConnection.R
+++ b/R/KorAPConnection.R
@@ -9,7 +9,6 @@
 #' @import dplyr
 #' @import purrr
 #' @import tidyr
-#'
 
 #' @export
 KorAPConnection <- setClass("KorAPConnection", slots=c(KorAPUrl="character", apiVersion="character", apiUrl="character", userAgent="character", timeout="numeric", verbose="logical", cache="logical"))
@@ -61,6 +60,9 @@
 
 setGeneric("apiCall", function(kco, ...)  standardGeneric("apiCall") )
 
+## quiets concerns of R CMD check re: the .'s that appear in pipelines
+if(getRversion() >= "2.15.1")  utils::globalVariables(c("."))
+
 #' @aliases apiCall
 #' @rdname KorAPConnection-class
 #' @param kco KorAPConnection object