-
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
ensure lintr runs/installs/tests on R-3.6 #395
Conversation
I'm not quite sure what the problem is here. I suspect the function
Relates to this change in R3.6 NEWS "Experimentally, setting environment variable R_CHECK_LENGTH_1_LOGIC2 will lead to warnings (or errors if the variable is set to a ‘true’ value) when && or || encounter and use arguments of length more than one." [https://cran.r-project.org/doc/manuals/r-devel/NEWS.html]? |
Maybe this, though we might want to rethink having the `%||%` <- function(x, y) {
if (is.null(x) || length(x) <= 0 || is.na(x[[1L]])) {
y
} else {
x
}
} |
Modified the definition of |
A similar problem has occurred with the function
Presumably Suggest:
I'm not sure why these errors aren't being detected in my R 3.6.1 environment when I run devtools::test() |
Codecov Report
@@ Coverage Diff @@
## master #395 +/- ##
========================================
Coverage ? 82.2%
========================================
Files ? 41
Lines ? 1871
Branches ? 0
========================================
Hits ? 1538
Misses ? 333
Partials ? 0
Continue to review full report at Codecov.
|
Thanks you can merge this whenever. |
Cheers jim |
The dev version of
xmlparsedata
has been updated to fix a parsing bug on R-3.6; before fixing that bug several lintr tests were failing (#384). This change pointslintr
to the dev version of xmlparsedata