tests/testthat/test-zzz-lintr.R

# https://github.com/jimhester/lintr
if (requireNamespace("lintr", quietly = TRUE)) {
  context("lints")
  test_that("package Style", {
    lintr::expect_lint_free(cache = TRUE)
  })
}

# lintr::lint_package()
# covr::package_coverage()
HBGDki/ghap documentation built on May 6, 2019, 9:45 p.m.