Description Usage Arguments Value Examples
Returns the absolute and relative counts of all lint errors found in the
file.
The resulting style data can be applied to another file with
lint_with_style
or lint_package_with_style
.
1 | extract_style(filename)
|
filename |
path to the file of interest |
a data_frame with columns lint
, count
, total_lints
and adjusted
1 2 3 4 5 | # Get the path to a file to check
path <- system.file("extdata", 'styles.R', package='adaptalint')
# Find out the profile of lints in this package
style <- extract_style(filename = path)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.