tests/testthat/test-CountChemicalElements.R

testthat::test_that(
  desc = "CountChemicalElements returns expected result",
  code = {
    testthat::expect_equal(unname(InterpretMSSpectrum::CountChemicalElements("CHC")), c(2,1))
  }
)

Try the InterpretMSSpectrum package in your browser

Any scripts or data that you put into this service are public.

InterpretMSSpectrum documentation built on May 29, 2024, 10:18 a.m.