tests/testthat/test-getPath.R

context('getPath')

test_that('getPath handles the known versions', {
    expect_that(getPath("http://psidev.info/psi/pi/mzIdentML/1.1"), equals('/x:MzIdentML'))
    expect_that(getPath("http://psidev.info/psi/pi/mzIdentML/1.0"), equals('/x:mzIdentML'))
})

Try the mzID package in your browser

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

mzID documentation built on Nov. 8, 2020, 8:08 p.m.