Create a minimal lintr config file with box
modules support as a starting point
for customization
Usage
use_box_lintr(path = ".", type = c("basic_box", "rhino"))
Arguments
- path
Path to project root where a
.lintr
file should be created. If the.lintr
file already exists, an error will be thrown.- type
The kind of configuration to create
basic_box
creates a minimal lintr config based on thetidyverse
configuration oflintr
. This starts withlintr::linters_with_defaults()
and is customized forbox
module compatibilityrhino
creates a lintr config based on the Rhino style guide