aboutsummaryrefslogtreecommitdiff
path: root/R/zzz.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/zzz.R')
-rw-r--r--R/zzz.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/zzz.R b/R/zzz.R
index f18e559..fc39fbf 100644
--- a/R/zzz.R
+++ b/R/zzz.R
@@ -1,6 +1,6 @@
.onLoad = function(libname, pkgname) {
conf <- reticulate::py_discover_config("rdkit")
- rdkit_available <- conf$available
+ rdkit_available <- reticulate::py_module_available("rdkit")
rdkit_module <- try(
reticulate::import("rdkit"),
silent = TRUE)

Contact - Imprint