lint_package_with_style: Lint a package, using a known style

Description Usage Arguments

View source: R/styles.R

Description

Apply a style extracted using extract_style, in order to check for only the style issues that aren't excepted in that package.

Usage

1
lint_package_with_style(package, style, threshold = 0.01)

Arguments

package

path to the package to check

style

a style data frame, as created by extract_style

threshold

the proportional occurrence threshold above which a lint is ignored


maxconway/adaptalint documentation built on Oct. 5, 2019, 4:32 a.m.