Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

parse_exclusions

read a source file and parse all the excluded lines from it


Description

read a source file and parse all the excluded lines from it

Usage

parse_exclusions(
  file,
  exclude = settings$exclude,
  exclude_start = settings$exclude_start,
  exclude_end = settings$exclude_end
)

Arguments

file

R source file

exclude

regular expression used to mark lines to exclude

exclude_start

regular expression used to mark the start of an excluded range

exclude_end

regular expression used to mark the end of an excluded range


lintr

A 'Linter' for R Code

v2.0.1
MIT + file LICENSE
Authors
Jim Hester [aut, cre], Florent Angly [aut], Russ Hyde [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.