Merge "'KorAP' typo"
diff --git a/R/KorAPConnection.R b/R/KorAPConnection.R
index 0b52f96..d511d1b 100644
--- a/R/KorAPConnection.R
+++ b/R/KorAPConnection.R
@@ -70,8 +70,8 @@
}
if (status_code(resp) != 200) {
message <- ifelse (!is.null(parsed$errors),
- sapply(parsed$errors, function(error) paste0(sprintf("\n%s: KoRAP API request failed: %s", error[1], error[2]))),
- message <- sprintf("%s: KoRAP API request failed.", status_code(resp)))
+ sapply(parsed$errors, function(error) paste0(sprintf("\n%s: KorAP API request failed: %s", error[1], error[2]))),
+ message <- sprintf("%s: KorAP API request failed.", status_code(resp)))
stop(message, call. = FALSE)
}
parsed
diff --git a/R/KorAPCorpusStats.R b/R/KorAPCorpusStats.R
index 7194491..7767adf 100644
--- a/R/KorAPCorpusStats.R
+++ b/R/KorAPCorpusStats.R
@@ -1,6 +1,6 @@
#' Class KorAPCorpusStats
#'
-#' \code{KorAPCorpusStats} objetcs can hold information about a corpus or virtual corpus.
+#' \code{KorAPCorpusStats} objects can hold information about a corpus or virtual corpus.
#' \code{KorAPCorpusStats} objects can be obtained by the \code{\link{corpusStats}()} method.
#'
#' @include KorAPConnection.R