-
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
use normalizePath() in find_package() #1765
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1765 +/- ##
=======================================
Coverage 98.87% 98.87%
=======================================
Files 109 109
Lines 4622 4623 +1
=======================================
+ Hits 4570 4571 +1
Misses 52 52
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@IndrajeetPatil there are currently 135 more undesirable_operator lints in this branch (ignoring the nolinted ones). Note these are the only lints generated by |
Definitely. We can add it back once #1692 is resolved. Feel free to make the change in this PR. |
Okay. Let's do that in a follow-up to keep this PR focused. |
# This file is part of the standard setup for testthat. | ||
# It is recommended that you do not modify it. | ||
# | ||
# Where should you do additional test configuration? | ||
# Learn more about the roles of various files in: | ||
# * https://r-pkgs.org/tests.html | ||
# * https://testthat.r-lib.org/reference/test_package.html#special-files | ||
|
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.
Nit: We don't need to include this. It is unnecessarily distracting.
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.
removed. We can always recreate this if we want to.
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.
Sorry for the misunderstanding.
I meant that we don't need that comment in the testthat.R
file. It would still be good to have the testthat.R
file without those comments. Otherwise, it'd be confusing to have tests without nothing executing those tests.
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, thanks!
Just one nitpick, but I am fine either way it is resolved.
fixes #1759
Also fixed a (newly generated) warning
Previously, existence of the path provided to
lint_package()
was never tested so it slipped by.