-
Notifications
You must be signed in to change notification settings - Fork 0
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
lintr not working until linter_cache created #2
Comments
This is quite strange, I don't remember such an issue on my computer. I'm pretty sure I didn't have to do that. (But actually, I had other weird issues when setting up |
I'm not sure if there is already this functionality built into lintr, but a related hack I use is the following function which uses the styler package to pretty-print all the code in a buffer. Thought I'd add it here in case you are interested.
|
Great trick, thanks! |
Yer, that was me, I was hoping someone would be able to point out a better way to do it. Dirk referenced some stuff material, but I didn't understand to use it to pretty print a whole file. Definitely not worth a repo/presentation. |
Mark a region via |
Aha! Of course emacs has an indentation program dating back to 1985. Thanks for the clarification on the usage :) The |
(Strictly personally speaking) I find the Which Emacs supports. It's even in the 'R internals' manual and has been since approximately forever. |
I couldn't get lintr to work until I found the linked SO post which explains you need a
~/.R/lintr_cache
to exist before you can actually see any errors. Potentially useful to point this out.https://emacs.stackexchange.com/a/57800
The text was updated successfully, but these errors were encountered: