-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Use .lintr files for lintr #824
Comments
I'm not familiar with how lintr is supposed to read |
When you run .lintr in Rstudio or from the console, it will read the file from the working directory. Here's my workaround. I made a clone of your repo and modified the lint function, so I could pass parameters to it: A better solution would be to create a variable you could set in .vimrc, where you could put the R variables If you like this solution I can put in a PR in the next few days. |
Okay then, that shouldn't be hard to fix. If the the linter has to be run from the directory containing the Then we could consider other options for configuring things. |
Hi,
I am using lintr to lint R files. However, the .lintr file, which is in the same directory is not read, so I can't set any configuration settings. How do I set configuration settings for lintr?
Thanks.
The text was updated successfully, but these errors were encountered: