use_lintr | R Documentation |
Create a minimal lintr config file as a starting point for customization
use_lintr(path = ".", type = c("tidyverse", "full"))
path |
Path to project root, where a |
type |
What kind of configuration to create?
|
Path to the generated configuration, invisibly.
vignette("lintr")
for detailed introduction to using and configuring lintr.
if (FALSE) {
# use the default set of linters
lintr::use_lintr()
# or try all linters
lintr::use_lintr(type = "full")
# then
lintr::lint_dir()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.