Package 'lintrall'

Title: Generate a lintr configuration file
Description: Generate a lintr configuration file with all of the linters explicitly enabled and documented.
Authors: Tim Taylor [aut, cre, cph]
Maintainer: Tim Taylor <[email protected]>
License: MIT + file LICENSE
Version: 0.0.0.9000
Built: 2024-09-14 05:07:57 UTC
Source: https://github.com/TimTaylor/lintrall

Help Index


Setup a lintr configuration file with all linters explicitly enabled

Description

Setup a lintr configuration file with all linters explicitly enabled

Usage

use_all_linters(..., dir = ".", overwrite = FALSE)

Arguments

...

Not currently used.

dir

Directory to create the .lintr.R file within.

overwrite

Should an existing .lintr.R file be overwritten.

Examples

dir <- tempdir()
f <- try(use_all_linters(dir = dir))
if (!inherits(f, "try-error")) {
    unlink(f)
}