tests/testthat/test_biocBuildReport.R

context("biocBuildReport")
library(BiocPkgTools)

bioc3.5_build = biocBuildReport("3.5")


test_that("catch non-character version parameter ", {
    expect_error(biocBuildReport(2.3))
})

test_that("nrow is correct", {
  expect_equal(nrow(bioc3.5_build), 14913)
})

test_that("ncol is correct", {
  expect_equal(ncol(bioc3.5_build), 9)
})
Liubuntu/BiocPkgTools documentation built on July 8, 2019, 6:56 p.m.