diff options
| author | Johannes Ranke <johannes.ranke@jrwb.de> | 2026-03-05 14:32:30 +0100 |
|---|---|---|
| committer | Johannes Ranke <johannes.ranke@jrwb.de> | 2026-03-05 14:32:30 +0100 |
| commit | 0d73256947c7c79890a5f94622f0948645ea4da7 (patch) | |
| tree | 73469afee00da18d2e3ece1368c355afbb8817ff /tests/testthat/setup.R | |
| parent | d6c7e8f5a0d0d4b564addf5b447bed6b3ba03b5e (diff) | |
Make test robust against unavailable services
Test logs are without internet.
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 index fb55272..4232120 100644 --- a/tests/testthat/setup.R +++ b/tests/testthat/setup.R @@ -2,3 +2,7 @@ skip_if_no_rdkit <- function() { if (!chents:::rdkit_available) skip("RDKit is not available via reticulate") } + +# Check availability of BCPC and PubChem +bcpc_up <- webchem::ping_service("bcpc") +pc_up <- webchem::ping_service("pc") |
