check_project locally screens also explicit local folders #178
|
check_project() checks the entire project. This is a logical step to keep the entire project tidy. Very good ! When I run check_project() locally, it also checks folders in .gitignore, which will therefore remain local. Is there a way to exclude this specific folder(s)? Thanks a lot for giving a solution ! |
Replies: 5 comments 8 replies
|
Currently only |
|
Thank you ThierryO, It was an answer I'd kind of expected ;-). I was hoping something could be done under the hood (as default). In my case, it's a lot of work to get that copied code state of the art, and it's now taking up a lot of lintr's time. |
|
If it is one specific file and mainly lintr causes the problems, maybe ignoring the lintr of this file with |
|
Maybe https://lintr.r-lib.org/reference/exclude.html works for excluding files or directories? I'm not sure checklist will allow it. |
|
See https://inbo.github.io/checklist/articles/organisation.html#using-the-organisations-default-org_list |
If it is one specific file and mainly lintr causes the problems, maybe ignoring the lintr of this file with
#nolint startand#nolint endcould be a solution here?