aboutsummaryrefslogtreecommitdiff
path: root/R/checkexperiment.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-12-15 01:34:14 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2015-12-15 01:34:14 +0100
commit39fab3ac713248e7f358ebb182cfbf228d8d3100 (patch)
treea4f610947167962c3ea893a48296f69641b9a47b /R/checkexperiment.R
parentcc66ea8e99f809c53cb5a23430b814f68efdb126 (diff)
Fix connecting to the UFT database
Diffstat (limited to 'R/checkexperiment.R')
-rw-r--r--R/checkexperiment.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/checkexperiment.R b/R/checkexperiment.R
index 8c2f472..b264243 100644
--- a/R/checkexperiment.R
+++ b/R/checkexperiment.R
@@ -9,7 +9,7 @@ checkexperiment <- function(id, db = "ecotox", endpoint = "%")
if (!(db %in% rownames(databases))) stop("Database is not supported")
- if (requireNamespace("RODBC")) {
+ if (require("RODBC")) {
channel <- RODBC::odbcConnect(db, uid="cytotox", pwd="cytotox", case="tolower")
} else {
stop("For this function, the RODBC package has to be installed and configured.")

Contact - Imprint