tests/testthat/test_lintr.R

if (requireNamespace("lintr", quietly = TRUE)) {
    context("lintr")

    describe("lintr", {
        test_that("lintr", {
            lintr::expect_lint_free()
        })
    })
}

Try the scriptexec package in your browser

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

scriptexec documentation built on May 2, 2019, 1:49 p.m.