tests/testthat/test-styling.R

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

Try the describer package in your browser

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

describer documentation built on May 1, 2019, 6:33 p.m.