You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everyone who replies to this issue will be invited to be collaborators on the lintr project.
What exactly happens if I accept? Does it mean I’ll break everything if I click the wrong button?
Concretely, if you accept the invitation, this does these things:
It lets you manage incoming issues on by labelling them, closing them, etc.
It lets you merge pull requests by clicking Github’s big green “Merge” button, but only if all their tests have passed.
It automatically subscribes you to notifications (but you can unsubscribe again if you want through the Github interface)
It does not allow you to push changes directly to Github without submitting a PR, and it doesn’t let you merge broken PRs – this is enforced through Github’s “branch protection” feature, and it applies to everyone from the newest contributor up to the project founder.
Okay, that’s what I CAN do, but what SHOULD I do?
Short answer: whatever you feel comfortable with.
We do have one rule, which is the same one most F/OSS projects use: don’t merge your own PRs. We find that having another person look at each PR leads to better quality. (Exception: you may see @jimhester merging his own PRs. This happens because he is lonely and has no-one to review them for him. It would make him happy if you reviewed and – if they look good – merged his PRs.)
Beyond that, it all comes down to what you feel up to. If you don’t feel like you know enough to review a complex code change, then you don’t have to – you can just look it over and make some comments, even if you don’t feel up to making the final merge/no-merge decision. Or you can just stick to merging doc fixes and adding tags to issues, that’s very helpful too. If after hanging around for a while you start to feel like you have better handle on how things work and want to start doing more, that’s excellent; if it doesn’t happen, that’s fine too.
If at any point you’re unsure about whether doing something would be appropriate, feel free to ask (by posting Github comment). For example, it’s totally OK if the first time you review a PR, you want someone else to check over your work before you hit the merge button.
- Triage all open issues, using the tidyverse labels. Each issue should have at least one label.
- Review open pull requests, seeing if they can be adapted or should just be closed.
- Assess performance of the devel version vs that of the current CRAN version (devel is quite a bit slower)
- Get devel version in a state where we can have a new CRAN release.
- Consider feasibility of converting existing linters to using XPath expressions rather than R code (this is advanced, but could make things much faster) Object name linter performance improvements #236 is an example
So do you all think it would be helpful to have a gitter chat room so you could have more real time access for questions etc, or are GitHub comments enough?
Hi @jimhester, what do you mean by "assess performance" in Assess performance of the devel version vs that of the current CRAN version (devel is quite a bit slower)
Measure how badly the performance has degraded and if possible which linters are most responsible for the degradation.
Ideally with something like profvis but as a start even using system.time() with a large R file that would have many lints, check.R in the tools package is an extreme case.
So it looks to me that the three linters responsible for the slowdown are object_name_linter, object_length_linter, and pipe_continuation_linter. Those could just be removed from the defaults, if a CRAN release is planned soon.
As far as I could tell from #348 , this is the place to kindly request a new release to CRAN. The discussion on #348 predates v1.0.3, which was released in November 2018.
Could you please prepare another release to CRAN?
I'd like to take advantage of these linters in projects that require building from package managers (not GitHub):
Activity
[-]Help collaborate on lintr[/-][+]Help collaborate on lintr![/+]jimhester commentedon May 17, 2018
How (I hope) this will work
Everyone who replies to this issue will be invited to be collaborators on the lintr project.
What exactly happens if I accept? Does it mean I’ll break everything if I click the wrong button?
Concretely, if you accept the invitation, this does these things:
Okay, that’s what I CAN do, but what SHOULD I do?
Short answer: whatever you feel comfortable with.
We do have one rule, which is the same one most F/OSS projects use: don’t merge your own PRs. We find that having another person look at each PR leads to better quality. (Exception: you may see @jimhester merging his own PRs. This happens because he is lonely and has no-one to review them for him. It would make him happy if you reviewed and – if they look good – merged his PRs.)
Beyond that, it all comes down to what you feel up to. If you don’t feel like you know enough to review a complex code change, then you don’t have to – you can just look it over and make some comments, even if you don’t feel up to making the final merge/no-merge decision. Or you can just stick to merging doc fixes and adding tags to issues, that’s very helpful too. If after hanging around for a while you start to feel like you have better handle on how things work and want to start doing more, that’s excellent; if it doesn’t happen, that’s fine too.
If at any point you’re unsure about whether doing something would be appropriate, feel free to ask (by posting Github comment). For example, it’s totally OK if the first time you review a PR, you want someone else to check over your work before you hit the merge button.
Tasks to perform
gdequeiroz commentedon May 17, 2018
Gabriela de Queiroz
MHenderson commentedon May 17, 2018
I would like to help.
brankokovac commentedon May 17, 2018
Branko Kovac
JamesCuster commentedon May 17, 2018
I am interested in helping out.
jimhester commentedon May 17, 2018
So do you all think it would be helpful to have a gitter chat room so you could have more real time access for questions etc, or are GitHub comments enough?
Ok added one https://gitter.im/jimhester-lintr/Lobby
erleholgersen commentedon May 17, 2018
I'm also interested in helping out.
stufield commentedon May 17, 2018
Hi Jim,
Love what you've started with
lintrand would be happy to be involved to the extent I can contribute.Stu
navdeep-G commentedon May 18, 2018
I am interested if there is still room. :)
adanvr commentedon May 18, 2018
I would like to help as well
dougmet commentedon May 18, 2018
Hi, a few of us from Mango might be able to muck in as it slots together quite well with mangothecat/goodpractice and friends. cc @hfrick @sellorm @owenjonesuob
We use lintr heavily on lots of packages as part of ValidR (via mangothecat/packageMetrics2)
jimhester commentedon May 18, 2018
@dougmet, that would be great, If the other Mango folks are interested please add a separate reply and I can add you to the collaborators.
jimhester commentedon May 18, 2018
Also most of the linters in goodpractice that would be great to have in lintr, so a good first contribution would be doing that!
wligtenberg commentedon May 18, 2018
I am interested in helping out as well.
9 remaining items
cryptomanic commentedon May 19, 2018
I would love to contribute.
gu-stat commentedon May 23, 2018
I'd like to help, if there's still room.
jimhester commentedon Jun 3, 2018
A great first issue PR for someone to review would be #321, it mainly needs a note added to NEWS.md
gdequeiroz commentedon Jun 6, 2018
Hi @jimhester, what do you mean by "assess performance" in
Assess performance of the devel version vs that of the current CRAN version (devel is quite a bit slower)jimhester commentedon Jun 6, 2018
Measure how badly the performance has degraded and if possible which linters are most responsible for the degradation.
Ideally with something like profvis but as a start even using
system.time()with a large R file that would have many lints, check.R in the tools package is an extreme case.On my machine this takes ~60-70 seconds with the current CRAN version, the devel version takes about 9 minutes.
So you will likely need to use a smaller file to narrow down the exact causes, but good first step is identifying the extent of the problem.
jimhester commentedon Jun 8, 2018
It would be great for someone to review #326
jabranham commentedon Jun 12, 2018
We can measure the speed difference between various linters by looping over the defaults:
comparing the CRAN and github versions I get the following speeds:
So it looks to me that the three linters responsible for the slowdown are
object_name_linter,object_length_linter, andpipe_continuation_linter. Those could just be removed from the defaults, if a CRAN release is planned soon.russHyde commentedon Sep 25, 2018
Happy to pitch-in if you still need helpers.
Russ Hyde, Glasgow Uni.
Neil-Schneider commentedon Jan 9, 2019
Hi Jim, I would love to join the team.
mjsteinbaugh commentedon Jan 9, 2019
@jimhester I'm up for adding some linters that help adhere to the Bioconductor coding style.
Also, is there an easy way to get S3 methods to pass linter checks (e.g.
function.defaultwill warn about the period).jameslamb commentedon Sep 29, 2019
As far as I could tell from #348 , this is the place to kindly request a new release to CRAN. The discussion on #348 predates v1.0.3, which was released in November 2018.
Could you please prepare another release to CRAN?
I'd like to take advantage of these linters in projects that require building from package managers (not GitHub):
Thanks very much!
joaopmatias commentedon Dec 15, 2019
Hi, I'd like to contribute, too!
renkun-ken commentedon Jun 24, 2020
I'd like to contribute more, thanks!
MichaelChirico commentedon Jan 31, 2021
I think this is safe to close; feel free to re-open