summaryrefslogtreecommitdiff
path: root/tests/testthat/test_chent.R
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testthat/test_chent.R')
-rw-r--r--tests/testthat/test_chent.R4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testthat/test_chent.R b/tests/testthat/test_chent.R
index 4017042..a008599 100644
--- a/tests/testthat/test_chent.R
+++ b/tests/testthat/test_chent.R
@@ -17,6 +17,10 @@ test_that("We can initialise an object and add information", {
oct$get_rdkit() |>
expect_message("Get chemical information from RDKit using user SMILES")
+ # Check availability of BCPC and PubChem immediately before use
+ bcpc_up <- webchem::ping_service("bcpc")
+ pc_up <- webchem::ping_service("pc")
+
skip_if_not(pc_up)
expect_snapshot(print(oct))
})

Contact - Imprint