-
Notifications
You must be signed in to change notification settings - Fork 82
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
_R_CHECK_LENGTH_1_LOGIC2_ #238
Comments
Same issue with a package of mine on R-devel with |
sckott
added a commit
to ropensci/wikitaxa
that referenced
this issue
Jan 11, 2019
|
Fixed by c041227 |
clrpackages
pushed a commit
to clearlinux-pkgs/R-wikitaxa
that referenced
this issue
Jun 30, 2020
…n 0.4.0 Scott Chamberlain (29): update docs bump to dev version use dev vcr, run _R_CHECK_LENGTH_1_LOGIC2_ on r-devel use build matrix on appveyor, and do _R_CHECK_LENGTH_1_LOGIC2_ on r-devel [skip travis] --no-build-vignettes on travis so we can proceed to tests where hopefully stack trace fix travis all vignette chunks eval=FALSE put test_taht blocks inside of use_cassette blocks set _R_CHECK_LENGTH_1_LOGIC2_ to FALSE for now - problem is in xml2, see r-lib/xml2#238 contributing file tweaks add makefile remove vignette cmds from makefile delete rstudio file bump year in license file remove docs link to httr since not imported in pkg fix #19 update docs for new roxygen2 version set utf8=FALSE for now across pkg due to curl::curl_escape segfault jeroen/curl#228 re-record test fixtures remove email option in contributing file gh actions pkg level man file needs a description tag fix tests windows vcr fixes add gh actions badge to readme different vignette setup. remove egs from readme update revdep checks update news and cran comments, update codemeta.json update readme.md remove Remotes from DESCRIPTION, update cran comments rOpenSci Bot (1): Add links to official docs site.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With current R-devel, we can use the experimental environment variable
_R_CHECK_LENGTH_1_LOGIC2_
to detect code where&&
or||
encounter arguments of length more than one.For xml2, I see
I stumbled upon this problem when R-devel CMD checking my own packages in an environment with enabled
_R_CHECK_LENGTH_1_LOGIC2_
:This is because CRAN incoming check functions make use of
xml2::read_html()
(see https://github.com/wch/r-source/blob/83a4b1391b0bc98aa3b8d786b1ddf952e5bb773f/src/library/tools/R/urltools.R#L72).Session Info
The text was updated successfully, but these errors were encountered: