longtests/testthat/test-check.R

test_that("internal test package CHECKs correctly", {
    expect_error(rcmdcheck::rcmdcheck(system.file("testpkg", package="beachmat"), error_on="error"), NA)
})

test_that("extension test package CHECKs correctly", {
    expect_error(rcmdcheck::rcmdcheck(system.file("extensions", package="beachmat"), document=FALSE, error_on="error"), NA)
})

Try the beachmat package in your browser

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

beachmat documentation built on Dec. 22, 2020, 2 a.m.