Lintr searches for settings for a given file in the following order.
options defined as linter.setting
.
linter_file
in the same directory
linter_file
in the project directory
read_settings(filename)
source file to be linted
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.