diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2016-10-13 10:08:32 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2016-10-13 10:08:32 +0200 |
commit | 65c481910d65f6935b7f52450ea809586e71d384 (patch) | |
tree | c7978c06b697569d6db14c640d0303efcbb39e7e /R | |
parent | 7517eb0ed1a66488b937c039d4bcadefeff6b479 (diff) |
Do not fail if PythonInR is not installed
Diffstat (limited to 'R')
-rw-r--r-- | R/chent.R | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |