aboutsummaryrefslogtreecommitdiff
path: root/R/drdata.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/drdata.R
parentcc66ea8e99f809c53cb5a23430b814f68efdb126 (diff)
Fix connecting to the UFT database
Diffstat (limited to 'R/drdata.R')
-rw-r--r--R/drdata.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/drdata.R b/R/drdata.R
index 0bf9597..eda1249 100644
--- a/R/drdata.R
+++ b/R/drdata.R
@@ -3,7 +3,7 @@ drdata <- function(substances, experimentator = "%", db = "cytotox",
organism = "Vibrio fischeri", endpoint = "Luminescence", whereClause = "1",
ok = "'ok','no fit'")
{
- if (requireNamespace("RODBC")) {
+ if (require("RODBC")) {
channel <- RODBC::odbcConnect(db,uid="cytotox",pwd="cytotox",case="tolower")
slist <- paste(substances,collapse="','")
if (db == "cytotox") {

Contact - Imprint