Remove redundant R version checks
Change-Id: I51009d002e943aa4187cd7105b7a6935368d6b60
diff --git a/R/KorAPConnection.R b/R/KorAPConnection.R
index 3627f2f..3100cee 100644
--- a/R/KorAPConnection.R
+++ b/R/KorAPConnection.R
@@ -330,7 +330,7 @@
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("."))
+utils::globalVariables(c("."))
#' @aliases apiCall
#' @rdname KorAPConnection-class
diff --git a/R/KorAPQuery.R b/R/KorAPQuery.R
index db5ad6f..296efa5 100644
--- a/R/KorAPQuery.R
+++ b/R/KorAPQuery.R
@@ -70,7 +70,7 @@
maxResultsPerPage <- 50
## quiets concerns of R CMD check re: the .'s that appear in pipelines
-if(getRversion() >= "2.15.1") utils::globalVariables(c("."))
+utils::globalVariables(c("."))
#' Corpus query
#'
diff --git a/R/collocationScoreQuery.R b/R/collocationScoreQuery.R
index d488995..f9c56fc 100644
--- a/R/collocationScoreQuery.R
+++ b/R/collocationScoreQuery.R
@@ -1,7 +1,7 @@
setGeneric("collocationScoreQuery", function(kco, ...) standardGeneric("collocationScoreQuery") )
## quiets concerns of R CMD check re: the .'s that appear in pipelines
-if(getRversion() >= "2.15.1") utils::globalVariables(c("."))
+utils::globalVariables(c("."))
#' Query frequencies of a node and a collocate and calculate collocation association scores