aboutsummaryrefslogtreecommitdiff
path: root/R/checksubstance.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/checksubstance.R')
-rw-r--r--R/checksubstance.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/checksubstance.R b/R/checksubstance.R
index 3e07f92..790182f 100644
--- a/R/checksubstance.R
+++ b/R/checksubstance.R
@@ -11,7 +11,7 @@ checksubstance <- function(substance, db = "cytotox", experimentator = "%",
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