Skip to content
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

Support clickable hyperlinks #2646

Merged
merged 9 commits into from
Aug 9, 2024
Merged

Support clickable hyperlinks #2646

merged 9 commits into from
Aug 9, 2024

Conversation

olivroy
Copy link
Collaborator

@olivroy olivroy commented Aug 6, 2024

fix #2645

Basically, this checks for clickable hyperlinks. I also saw that some code was still hidden behind requireNamespace("cli") but that is no longer required since cli is imported.

To my great surprise, this works out of the box in Positron ! for lintr::lint_package()
image
Before, there were no hyperlinks (lintr 3.1.2)
image

Lmk if you'd like me to add NEWS for this!

R/methods.R Outdated Show resolved Hide resolved
R/methods.R Outdated Show resolved Hide resolved
R/methods.R Outdated Show resolved Hide resolved
R/methods.R Outdated Show resolved Hide resolved
@olivroy
Copy link
Collaborator Author

olivroy commented Aug 7, 2024

Just reinstalled lintr from the PR and confirm that a file with { will not throw an error!

@AshesITR
Copy link
Collaborator

AshesITR commented Aug 8, 2024

LGTM now, please add yourself to a NEWS bullet to take credit. Thanks!

NEWS.md Outdated Show resolved Hide resolved
R/methods.R Outdated Show resolved Hide resolved
@MichaelChirico MichaelChirico merged commit 5990da6 into r-lib:main Aug 9, 2024
18 checks passed
@olivroy olivroy deleted the clickable branch August 9, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support clickable hyperlinks in lintr output if hyperlinks are available (but not markers)
3 participants