aboutsummaryrefslogtreecommitdiff
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.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testthat/test_chent.R b/tests/testthat/test_chent.R
index 4551cf7..7594640 100644
--- a/tests/testthat/test_chent.R
+++ b/tests/testthat/test_chent.R
@@ -15,7 +15,7 @@ test_that("We can generate a chent object from SMILES using RDKit", {
})
test_that("We can add information retrieved from PubChem via webchem", {
- oct$try_pubchem()
+ expect_warning(oct$try_pubchem(), "Overwriting uninitialized InChIKey")
expect_equivalent(round(oct$mw, 2), 130.23)
ik = "KBPLFHHGFOOTCA-UHFFFAOYSA-N"
attr(ik, "source") <- "pubchem"

Contact - Imprint