From 65c481910d65f6935b7f52450ea809586e71d384 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 13 Oct 2016 10:08:32 +0200 Subject: Do not fail if PythonInR is not installed --- R/chent.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'R') 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 { -- cgit v1.2.1