CA: warn if no access token present
Change-Id: Iec2e57edc7bb62bfed23672ada549252ba03518e
diff --git a/R/collocationAnalysis.R b/R/collocationAnalysis.R
index 2443f8f..b6592c3 100644
--- a/R/collocationAnalysis.R
+++ b/R/collocationAnalysis.R
@@ -85,6 +85,8 @@
stop(sprintf("Not empty withinSpan (='%s') requires exactFrequencies=TRUE", withinSpan), call. = FALSE)
}
+ warnIfNoAccessToken(kco)
+
if (lemmatizeNodeQuery) {
node <- lemmatizeWordQuery(node)
}
@@ -314,5 +316,3 @@
filter(frequency >= minOccur)
}
}
-
-