lint_package: Customize 'lintr::lint_package'

View source: R/lintr.R

lint_packageR Documentation

Customize lintr::lint_package

Description

lintr now runs cyclocomp, which we use independently and we don't want to run it twice. So this is just a wrapper to codelintr::lint_package where we hardcode the exclusion of unwanted linters (more may be added to lintr) so other packages using packager's ‘Makefile’ or get_package_makelist don't have to care of changes to the default linters in lintr.

Usage

lint_package(path)

Arguments

path

The path to the package, passed to lintr::lint_package.

Value

See the return value of lintr::lint_package.


packager documentation built on Aug. 16, 2023, 5:08 p.m.