tests/testthat/test-zzz_lintr.R

context("true")

test_that("true", {
  expect_true(TRUE)
})

# https://github.com/jimhester/lintr
if (requireNamespace("lintr", quietly = TRUE)) {
  context("lints")
  test_that("Package Style", {
    lintr::expect_lint_free(cache = TRUE)
  })
}

Try the lazyrmd package in your browser

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

lazyrmd documentation built on May 2, 2019, 2:15 a.m.