-
Notifications
You must be signed in to change notification settings - Fork 186
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
Make cyclocomp_linter()
optional
#2555
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2555 +/- ##
==========================================
- Coverage 98.18% 98.15% -0.03%
==========================================
Files 125 125
Lines 5715 5737 +22
==========================================
+ Hits 5611 5631 +20
- Misses 104 106 +2 ☔ View full report in Codecov by Sentry. |
…intr into f2554-cyclocomp-optional
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I'm assuming this is ready to merge?
Co-authored-by: Michael Chirico <[email protected]>
Yes! |
Should we change that link (it won't cause any CRAN issue since {cyclocomp} will be available)? I lean towards "not an issue". |
The note in rcmdcheck should be fixed. But the failing test continues to befuddle me. Can have a look tomorrow. |
I'm really not sure -- wanted to flag for vis. I especially have in mind that base R itself throws the same "missing cross-reference" We also link to Suggests packages elsewhere, e.g.: lintr/man/expect_comparison_linter.Rd Lines 9 to 15 in 79d1059
Do you have a proposed workaround in mind? Maybe there's a good alternative I haven't hit on yet. |
Should we make this function simpler & remove the cyclocomp reference?
Ditto here:
|
This is because we are cheating a bit. We don't treat all suggested dependencies equally while running R CMD check in "no Suggests" mode: lintr/.github/workflows/R-CMD-check-hard.yaml Lines 55 to 60 in 79d1059
If we were to also add |
Yes, we should remove those references. I don't have a good sense of how much work making that function simpler will be, but I can have a look in the evening, after work, unless you get to it before me. |
Closes #2554
Creating a draft PR. Not sure in which release we would like to include this change.
TODO: