tests/testthat.R

library(testthat)
library(lintr)

# suppress printing environment name (noisy)
invisible({
  loadNamespace("patrick")
  loadNamespace("withr")
})

test_check("lintr")

Try the lintr package in your browser

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

lintr documentation built on Nov. 7, 2023, 5:07 p.m.