tests/testthat/test-styling.R

if (requireNamespace("lintr", quietly = TRUE)) {
  context("lints")
  test_that("Package Style", {
    lintr::expect_lint_free()
  })
}
paulhendricks/profilr documentation built on May 24, 2019, 8:43 p.m.