From 87f9c5315c751896c2eef1fdbe8f93c5b151577e Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Tue, 19 Feb 2019 16:02:19 +0100 Subject: Start using travis and update a test It seems the canonical SMILES for glyphosate on PubChem has dropped the designation of the two charges --- tests/testthat/test_pai.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/testthat/test_pai.R b/tests/testthat/test_pai.R index a0b7704..de1f235 100644 --- a/tests/testthat/test_pai.R +++ b/tests/testthat/test_pai.R @@ -16,6 +16,6 @@ test_that("a pai object is correctly generated from an ambiguous name, with warn attr(ik, "source") <- c("alanwood", "pubchem") expect_equal(glyphosate$inchikey, ik) expect_equivalent(round(glyphosate$mw, 2), 169.07) - smiles <- "C(C(=O)O)[NH2+]CP(=O)(O)[O-]" + smiles <- "C(C(=O)O)NCP(=O)(O)O" expect_equal(glyphosate$smiles[["PubChem_Canonical"]], smiles) }) -- cgit v1.2.1