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 base::read.dcf() for details.