tests/testthat/test-lintr.R

if (requireNamespace('lintr', quietly = TRUE)) {
  context('lints')

  test_that('Package passes lintr', {
    # HACK(mgnb): something about the way codecov runs causes it to miss the
    # .lintr file. For now, I am disabling these on travis, though the place
    # to really look is the codecov() call in .travis.yml
    skip_on_travis()
    lintr::expect_lint_free()
  })
}
mbertolacci/savepointr documentation built on May 13, 2019, 4:06 a.m.