tests/testthat/test-rqcQA.R

context("rqcQA")

test_that("rqcQA should always return list", {
  folder <- system.file(package = "ShortRead", "extdata/E-MTAB-1147")
  files <- list.files(full.names = TRUE, path = folder)
  rqcResultSet <- rqcQA(files, pair = c(1,1), workers = 1)
  expect_is(rqcResultSet, "list")
  
  rqcResultSet <- rqcQA(files[1], pair = c(1,1), workers = 1)
  expect_is(rqcResultSet, "list")
})

Try the Rqc package in your browser

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

Rqc documentation built on Nov. 8, 2020, 5:11 p.m.