summaryrefslogtreecommitdiff
path: root/tests/testthat/setup.R
blob: 42321200aca345252e56e97756f22dc8b2b7bfde (plain) (blame)
1
2
3
4
5
6
7
8
# Check if we can use RDKit
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")

Contact - Imprint