aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2016-10-13 10:08:32 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2016-10-13 10:08:32 +0200
commit65c481910d65f6935b7f52450ea809586e71d384 (patch)
treec7978c06b697569d6db14c640d0303efcbb39e7e /R
parent7517eb0ed1a66488b937c039d4bcadefeff6b479 (diff)
Do not fail if PythonInR is not installed
Diffstat (limited to 'R')
-rw-r--r--R/chent.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/chent.R b/R/chent.R
index b2a1da6..e170307 100644
--- a/R/chent.R
+++ b/R/chent.R
@@ -67,7 +67,7 @@ chent <- R6Class("chent",
}
if (rdkit) {
- if(requireNamespace("PythonInR")) {
+ if(requireNamespace("PythonInR", quietly = TRUE)) {
if (is.null(self$smiles)) {
stop("RDKit needs a SMILES code")
} else {

Contact - Imprint