diff options
| author | Johannes Ranke <johannes.ranke@jrwb.de> | 2026-03-05 11:47:12 +0100 |
|---|---|---|
| committer | Johannes Ranke <johannes.ranke@jrwb.de> | 2026-03-05 11:47:12 +0100 |
| commit | d6c7e8f5a0d0d4b564addf5b447bed6b3ba03b5e (patch) | |
| tree | ef318f32ccc1a434aad0df65490194247eb27658 /tests/testthat/setup.R | |
| parent | 4e092707e70adac492b74197e6ceef5cdd09cc8d (diff) | |
Do not depend on RDKit in pai test
This hopefully addresses test failures observed on R-Universe.
Update coverage report.
Diffstat (limited to 'tests/testthat/setup.R')
| -rw-r--r-- | tests/testthat/setup.R | 4 |
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") +} |
