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

read_settings

Read lintr settings


Description

Lintr searches for settings for a given source file in the following order.

  1. options defined as linter.setting.

  2. linter_file in the same directory

  3. linter_file in the project directory

  4. linter_file in the user home directory

  5. default_settings

Usage

read_settings(filename)

Arguments

filename

source file to be linted

Details

The default linter_file name is .lintr but it can be changed with option lintr.linter_file. This file is a dcf file, see read.dcf for details.


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.