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 May 29, 2024, 11:31 a.m.