Use instance/test until negative fields bug in virtual corpora is fixed in main instance
See https://korap.ids-mannheim.de/gerrit/#/c/KorAP/Krill/+/2338/
Change-Id: Ibe741947675f1c241b8270177e9054bf86b81ca1
diff --git a/R/KorAPConnection.R b/R/KorAPConnection.R
index 84aec06..099975c 100644
--- a/R/KorAPConnection.R
+++ b/R/KorAPConnection.R
@@ -28,7 +28,7 @@
#' @rdname KorAPConnection-class
#' @export
setMethod("initialize", "KorAPConnection",
- function(.Object, KorAPUrl = "https://korap.ids-mannheim.de/", apiVersion = 'v1.0', apiUrl) {
+ function(.Object, KorAPUrl = "https://korap.ids-mannheim.de/instance/test/", apiVersion = 'v1.0', apiUrl) {
.Object <- callNextMethod()
m <- regexpr("https?://[^?]+", KorAPUrl, perl = TRUE)
.Object@KorAPUrl <- regmatches(KorAPUrl, m)
diff --git a/man/KorAPConnection-class.Rd b/man/KorAPConnection-class.Rd
index 2c4c60e..f91b6c6 100644
--- a/man/KorAPConnection-class.Rd
+++ b/man/KorAPConnection-class.Rd
@@ -9,8 +9,8 @@
\title{Class KorAPConnection}
\usage{
\S4method{initialize}{KorAPConnection}(.Object,
- KorAPUrl = "https://korap.ids-mannheim.de/", apiVersion = "v1.0",
- apiUrl)
+ KorAPUrl = "https://korap.ids-mannheim.de/instance/test/",
+ apiVersion = "v1.0", apiUrl)
\S4method{show}{KorAPConnection}(object)
}