tests/testthat/test-lintr.R

# Keep this test to passively check for coding style
if (requireNamespace("lintr", quietly = TRUE)) {
  context("lints")
  test_that("Package Style", {
    lintr::expect_lint_free(cache = TRUE)
  })
}
HBGDki/RStarterPkg documentation built on May 6, 2019, 9:45 p.m.