Fix some CRAN policy issues
Change-Id: I6862ea1bfbadbaf5d6090b6655c21ecf66650c16
diff --git a/R/KorAPQuery.R b/R/KorAPQuery.R
index 92a5348..db44f17 100644
--- a/R/KorAPQuery.R
+++ b/R/KorAPQuery.R
@@ -1147,10 +1147,14 @@
#' fetchAnnotations()
#'
#' # Access linguistic annotations for match i:
-#' pos_tags <- q@collectedMatches$pos # Data frame with left/match/right columns for POS tags
-#' lemmas <- q@collectedMatches$lemma # Data frame with left/match/right columns for lemmas
-#' morphology <- q@collectedMatches$morph # Data frame with left/match/right columns for morphological tags
-#' atokens <- q@collectedMatches$atokens # Data frame with left/match/right columns for annotation token text
+#' pos_tags <- q@collectedMatches$pos
+#' # Data frame with left/match/right columns for POS tags
+#' lemmas <- q@collectedMatches$lemma
+#' # Data frame with left/match/right columns for lemmas
+#' morphology <- q@collectedMatches$morph
+#' # Data frame with left/match/right columns for morphological tags
+#' atokens <- q@collectedMatches$atokens
+#' # Data frame with left/match/right columns for annotation token text
#' raw_snippet <- q@collectedMatches$annotation_snippet[[i]] # Original XML snippet for match i
#'
#' # Access specific components:
@@ -1166,6 +1170,8 @@
#' fetchAnnotations(foundry = "marmot")
#' q@collectedMatches$pos$left[1] # POS tags for the left context of the first match
#' }
+#' @usage fetchAnnotations(kqo, foundry = "tt", overwrite = FALSE,
+#' verbose = kqo@korapConnection@verbose)
#' @export
setMethod("fetchAnnotations", "KorAPQuery", function(kqo, foundry = "tt", overwrite = FALSE, verbose = kqo@korapConnection@verbose) {
if (is.null(kqo@collectedMatches) || nrow(kqo@collectedMatches) == 0) {