-
Notifications
You must be signed in to change notification settings - Fork 187
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
Bioconductor style linters #43
Comments
@jimhester Any update on this? Would love to see this feature added. I'd be happy to help contribute. |
I'd also be interested in this 😃 |
For those interested I would gladly review a PR! |
Cool thanks Jim, I'll see if I can put together a list of rules that would be helpful. |
I could use this since I'm developing a Bioconductor package now, so I'll see what I can do to help |
https://bioconductor.org/developers/how-to/coding-style/ would probably be a useful place to start. |
Maybe a good way to start is using this file I could spend some time, I have also some interest on this: see r-lib/styler#331 I understand that this is different from r-lib/styler but I don't understand if there is any relationship between these packages or not. Anyway with that file it seems that it might be easier for me to use lintr |
@llrs I've been using this .lintr file in my packages, which has some additional checks |
Hi @mjsteinbaugh , would you be OK if I used your .lintr for basejump to define a list of bioconductor defaults within lintr? |
Sure thing! |
There's some additional best-practices mentioned here:
|
Yes, refer to |
Also, one addition that would be particularly useful in my opinion is improved handling of internal S4 method functions, which currently return as lint errors. Here's an example:
|
Encourage anyone that's interested to file PRs. Would especially be nice to include some for the 3.0.0 release. A lot of the points referenced in #43 (comment) are already doable with existing linters; others would be straightforward adaptations of existing logic (see e.g. the linters filed in #884). We can add the |
Gonna close this issue so it's not just indefinitely open. We remain open to PRs, but none of the current maintainers are too familiar with BioConductor practices. Moving forward interested contributors might consider:
|
Add as an optional default perhaps?
http://bioconductor.org/developers/how-to/coding-style/
The text was updated successfully, but these errors were encountered: