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)
})
ropensci-review-tools/pkgcheck documentation built on Nov. 24, 2024, 7:57 p.m.