tests/testthat/test-allPeakLengths.R

context("All peaks length tester")

test_that("all peaks length graphs produces properly", {
  peaksGraph <- allPeakLengths(fpath <- system.file("extdata", "somepeaksfile.txt", package="geneXtendeR"))
  
  expect_equal(peaksGraph$n, 25089)
})

if (file.exists("peaks.txt")) {
  file.remove("peaks.txt")
}

Try the geneXtendeR package in your browser

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

geneXtendeR documentation built on Nov. 8, 2020, 11:09 p.m.