Revert "Use instance/test until negative fields bug in virtual corpora is fixed in main instance"
Must be reverted before the library goes public.
This reverts commit 71626ac1628c0de0945418d339f3742281e217bd.
Change-Id: I18220ec22a8680ffb65b9017504474fd96048978
diff --git a/R/KorAPConnection.R b/R/KorAPConnection.R
index 099975c..84aec06 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/instance/test/", apiVersion = 'v1.0', apiUrl) {
+ function(.Object, KorAPUrl = "https://korap.ids-mannheim.de/", 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 f91b6c6..2c4c60e 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/instance/test/",
- apiVersion = "v1.0", apiUrl)
+ KorAPUrl = "https://korap.ids-mannheim.de/", apiVersion = "v1.0",
+ apiUrl)
\S4method{show}{KorAPConnection}(object)
}