-
Notifications
You must be signed in to change notification settings - Fork 76
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
Fix some suboptimal patterns identified by lintr #434
Conversation
since they are already restored by on.exit()
Tests failures are due to r-lib/testthat#1969. |
For this,
|
@Bisaloo Please add yourself to |
One potential last thing is that
find_compress()
could use theendsWith()
base R function:rio/R/compression.R
Lines 1 to 35 in 588971f
But from my (admittedly limited) testing, it seems that
NA_character_
is a possible value forf
, leading to the creation of a file namedNA
. This meansendsWith()
is not a good fit here.But is it an explicit design choice to allow
NA_character_
or an unexpected side effect?