-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow config to be an .R file #2177
Merged
Merged
Changes from 14 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
83ccca5
allow config to be an .R file
MichaelChirico 637d6c9
Merge branch 'main' into lintr-r-config
MichaelChirico 0f98c6e
parse DCF values inside read_config_file
MichaelChirico 458d1f0
Merge branch 'lintr-r-config' of github.com:r-lib/lintr into lintr-r-…
MichaelChirico f439309
dont keep source
MichaelChirico d0d987e
correction
MichaelChirico d19b120
Merge branch 'main' into lintr-r-config
MichaelChirico 428cddb
oops
MichaelChirico 94d13df
backport sys.source args, remove unneeded backports
MichaelChirico 55c6287
oops
MichaelChirico a35412e
need placeholder initiated in namespace
MichaelChirico ebf2462
formalArgs needs ns-qualification
MichaelChirico dbe2268
nvm, avoid new Imports even if we implicitly have this dependency
MichaelChirico a14bed1
Alternative to pass R CMD check on R3.5.0
MichaelChirico 9e978d9
return environment for DCF too
MichaelChirico 2b8cc9e
better use exists() for env
MichaelChirico 6b53d80
missing comma
MichaelChirico 54d87f7
is.null() simpler for case when config is empty
MichaelChirico 3c50582
we don't allow that here
MichaelChirico edd0d2d
Merge branch 'main' into lintr-r-config
MichaelChirico 25d6dbd
Merge branch 'main' into lintr-r-config
IndrajeetPatil 2c800b3
simplify with %||%
MichaelChirico adcbfdf
helper for more parallelism
MichaelChirico 1245104
use helper elsewhere
MichaelChirico 588d178
NEWS
MichaelChirico dcdb994
document in ?read_settings
MichaelChirico 765e810
extend %||%
MichaelChirico fa1d676
check in test package
MichaelChirico da8559b
length<0 impossible
MichaelChirico cab3234
Merge branch 'main' into lintr-r-config
MichaelChirico 3c2207d
simplify finding local settings
MichaelChirico f0aa186
missed conflict
MichaelChirico 0960758
shared logic in helper
MichaelChirico 79584a9
Merge branch 'simplify-find-config' into lintr-r-config
MichaelChirico 029cb88
working test!
MichaelChirico 1862e28
windows-friendly
MichaelChirico 7b9071a
test of invalid syntax
MichaelChirico ebd294a
test another setting
MichaelChirico f7da8f8
test with extraneous info
MichaelChirico 3b109c7
test of config priority
MichaelChirico 108c45e
Merge remote-tracking branch 'origin/main' into lintr-r-config
MichaelChirico 1676536
Merge remote-tracking branch 'origin/main' into lintr-r-config
MichaelChirico e938475
mention .lintr.R in docs
MichaelChirico 9712e7a
test on subprocess without lintr attached
MichaelChirico 5d2b773
restore change from another branch
MichaelChirico 438cbdd
correct invocation of Rscript
MichaelChirico d5cfa39
object_name_linter
MichaelChirico 1f3c6d3
skip on windows
MichaelChirico ee62da7
skip non-robust test
MichaelChirico 589b54b
another try
MichaelChirico 211bd64
skip on 3.5
MichaelChirico 1e36799
Merge branch 'main' into lintr-r-config
MichaelChirico 5ae8a9a
change precedence to R>DCF, simplify
MichaelChirico 58e3487
Merge branch 'main' into lintr-r-config
MichaelChirico File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This check should be upgraded later down the line if we stick with R config files.