Fix no visible binding ...
Change-Id: Iee3007045391d91f3240caed2e141d5922cc159f
diff --git a/R/collocationAnalysis.R b/R/collocationAnalysis.R
index 747abde..3d43012 100644
--- a/R/collocationAnalysis.R
+++ b/R/collocationAnalysis.R
@@ -93,7 +93,7 @@
collocateFilterRegex = '^[:alnum:]+-?[:alnum:]*$',
...) {
# https://stackoverflow.com/questions/8096313/no-visible-binding-for-global-variable-note-in-r-cmd-check
- word <- frequency <- NULL
+ word <- frequency <- O <- NULL
if(!exactFrequencies && (!is.na(withinSpan) && !is.null(withinSpan) && nchar(withinSpan)>0 )) {
stop(sprintf("Not empty withinSpan (='%s') requires exactFrequencies=TRUE", withinSpan), call. = FALSE)