summaryrefslogtreecommitdiff
path: root/tests/testthat/setup.R
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testthat/setup.R')
-rw-r--r--tests/testthat/setup.R4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testthat/setup.R b/tests/testthat/setup.R
new file mode 100644
index 0000000..fb55272
--- /dev/null
+++ b/tests/testthat/setup.R
@@ -0,0 +1,4 @@
+# Check if we can use RDKit
+skip_if_no_rdkit <- function() {
+ if (!chents:::rdkit_available) skip("RDKit is not available via reticulate")
+}

Contact - Imprint