tests/testthat/test-lints.R

context("Lints")

if (requireNamespace("lintr",quietly = TRUE)) {
  test_that("Package has good style (no lints)", {
    lintr::expect_lint_free()
  })
}

Try the Wmisc package in your browser

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

Wmisc documentation built on Jan. 14, 2018, 1:04 a.m.