Use \dontrun instead of \donttest for non-essential examples
This is not so nice for the user experience because of the
wrappers arround examples:
## Not run
...
## End(Not run)
but it is necessary to some extent to pass automatic CRAN
checks under all circumstances, which actually do run
the donttest examples since R 4.0 with a time limit of apparently
20min in total.
Change-Id: If09b1aa381e26179ec1a36edd9d8b07116e3c33e
diff --git a/man/collocationAnalysis-KorAPConnection-method.Rd b/man/collocationAnalysis-KorAPConnection-method.Rd
index 840cd47..8ee0418 100644
--- a/man/collocationAnalysis-KorAPConnection-method.Rd
+++ b/man/collocationAnalysis-KorAPConnection-method.Rd
@@ -81,7 +81,8 @@
user interface.
}
\examples{
-\donttest{
+\dontrun{
+
# Find top collocates of "Packung" inside and outside the sports domain.
new("KorAPConnection", verbose = TRUE) \%>\%
collocationAnalysis("Packung", vc=c("textClass=sport", "textClass!=sport"),
@@ -89,7 +90,8 @@
dplyr::filter(logDice >= 5)
}
-\donttest{
+\dontrun{
+
# Identify the most prominent light verb construction with "in ... setzen".
# Note that, currently, the use of focus function disallows exactFrequencies.
new("KorAPConnection", verbose = TRUE) \%>\%