tests/testthat/test_vignetteTools.R

context("vignetteTools")
library(BiocPkgTools)

bpkgl = biocPkgList()
vf = getBiocVignette(bpkgl$vignettes[[1]][1])


test_that("getBiocVignette works", {
    expect_true(file.exists(vf))
})

Try the BiocPkgTools package in your browser

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

BiocPkgTools documentation built on April 15, 2021, 6:01 p.m.