tests/testthat/test-list-checks.R

test_that ("list-checks", {
    expect_message (
        chks <- list_pkgchecks (),
        "The following checks are currently implemented"
    )
    expect_length (chks, 19L)

    expect_silent (
        chks2 <- list_pkgchecks (quiet = TRUE)
    )
    expect_identical (chks, chks2)
})
ropenscilabs/pkgcheck documentation built on Nov. 24, 2024, 8:31 p.m.