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

paste_linter() should ignore URL-like paths for file.path() recommendation by default #2082

Closed
MichaelChirico opened this issue Aug 11, 2023 · 0 comments · Fixed by #2092
Closed
Labels
feature a feature request or enhancement
Milestone

Comments

@MichaelChirico
Copy link
Collaborator

Follow-up to #2074.

Originally posted by @AshesITR in #2074 (comment)

Not all authors will like using file.path() to build URLs, so paste0() may be preferable in such cases. The proposed solution is to skip any paste0() call with a double-slash //, and use an argument for authors who may want to lint such paths anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant