From d6c7e8f5a0d0d4b564addf5b447bed6b3ba03b5e Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 5 Mar 2026 11:47:12 +0100 Subject: Do not depend on RDKit in pai test This hopefully addresses test failures observed on R-Universe. Update coverage report. --- tests/testthat/setup.R | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/testthat/setup.R (limited to 'tests/testthat/setup.R') 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") +} -- cgit v1.2.3