tests/testthat/test_lint.R

if (requireNamespace("lintr", quietly = TRUE)) {
  context("linting package")
  test_that("Package Style", {
    lintr::expect_lint_free()
  })
}

Try the rde package in your browser

Any scripts or data that you put into this service are public.

rde documentation built on May 2, 2019, 9:19 a.m.