-
Notifications
You must be signed in to change notification settings - Fork 97
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
Release 2.5-4 before Feb 8, 2019 #305
Comments
Running win-builder gives an error that I can diagnose but I cannot trigger in my system. It is about This error is not reported in the CRAN check page https://cran.r-project.org/web/checks/check_results_vegan.html, but I think CRAN submission check will find this. Therefore this should be fixed before the release. The only way I can proceed is to fix the check error win-builder reports, make a new package, submit it to win-builder, see where it fails and loop again. So if @gavinsimpson @psolymos or anybody can trigger the error, please have a look a the fixes (which usually are very simple after you find them). If you try checking these issues, remember to Here an excerpt from the win-builder test which comes from
|
I couldn't trigger the error, but it looks like we have |
Can you set |
@Edild the "problem" is that the function does not even give a warning in Linux or in Mac, but triggers an error in Windows. We also have a continuing checking in github both in Linux and in Windows, but these pass. There is something in the win-builder that I cannot reproduce, and mere setting of If I look at the internal code, I see that in > is.na(g$centroids)
RDA1 RDA2
Manure0 FALSE FALSE
Manure1 FALSE FALSE
Manure2 FALSE FALSE
Manure3 FALSE FALSE
Manure4 FALSE FALSE However, in Mac (and obviously in Linux, but I have no Linux at home) the whole condition reduces to length 1: > length(g$centroids) > 0 && is.na(g$centroids)
[1] FALSE It seems that this is not reduced to length 1 in win-builder or the checking happens in some wilder way. @psolymos : the fix is indeed simple, like you said. It suffices to wrap the condition within |
@Edild @psolymos I think I have solved the problem of testing, but cannot test this at home: R-devel has a new environment variable (https://cran.r-project.org/doc/manuals/r-devel/R-ints.html):
This seems not be ported to release versions, and I don't have R-devel in my tiny laptop so that setting this variable does nothing. R-devel The length > 1 conditions has triggered a warning for ages, and we have fixed all those cases. So the remaining cases are just violations or I retired yesterday so that my access to a Linux computer w/R-devel at the uni is more limited now. |
The test is run with environment variable _R_CHECK_LENGTH_1_LOGIC2 in R-devel (to be R 3.6.0), and this made vegan fail in winbuilder checks for R-devel. See issue #305 in github.
Yet another issue of _R_CHECK_LENTH_1_LOGIC2_ issues (github #305). lpolygon() worked correctly with old code, because only the first of possible values col, lwd, border etc was used, but strict testing of equal lenghts of elements in && and || gave an obscure error.
Yet another issue of _R_CHECK_LENTH_1_LOGIC2_ issues (github #305). lpolygon() worked correctly with old code, because only the first of possible values col, lwd, border etc was used, but strict testing of equal lenghts of elements in && and || gave an obscure error. (cherry picked from commit bb2d019)
I said I wouldn't, but I built R-devel in my Macbook Air. This time I was more persistent and chased the libraries needed for building R. With this, I could find and fix the This means that I can submit 2.5-4 on Sunday Feb 3 or the following Monday leaving some buffer for the Feb 8 deadline. |
Dear Jari,
You are truly incredible! Splendid work!
I arrived in Barcelona this morning to attend the SIBECOL conference Monday to Thursday.
http://www.congresosociedadibericaecologia2019.net/Conference_PROGRAM_496_p.htm <http://www.congresosociedadibericaecologia2019.net/Conference_PROGRAM_496_p.htm>
Miquel De Caceres, who is a "local" here, picked me up at the airport. He will be presenting his new "Trajectory analysis" (freshly published last Thursday in Ecological Monographs) at the conference Tuesday at noon. It was good to see him again! Will will stroll through old Barcelona together tomorrow.
Are you also in Spain? Will you be coming to the Conference? Lots of interesting people will be there :-)
Pierre
========
… Le 2 févr. 2019 à 19:53, Jari Oksanen ***@***.***> a écrit :
I said I wouldn't, but I built R-devel in my Macbook Air. This time I was more persistent and chased the libraries needed for building R. With this, I could find and fix the _R_CHECK_LENGTH_1_LOGIC2_ cases, and now vegan 2.5-4 passes win-builder tests. (Most fixes were obvious, but in ordixyplot the error was deep down in the grid package that provides the infrastructure for lattice, and I was lost for a long time).
This means that I can submit 2.5-4 on Sunday Feb 3 or the following Monday leaving some buffer for the Feb 8 deadline.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#305 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABf7nD-fxkvJSuy18A8YunXGdOXdjP6sks5vJd6qgaJpZM4aUGU3>.
---
Pierre Legendre ------------------- Courriel: Pierre.Legendre@UMontreal.CA
Département de sciences biologiques,
Université de Montréal,
C.P. 6128, succ. Centre-ville, Tel.: (514) 343-7591
Montréal, Québec H3C 3J7, Canada Fax : (514) 343-2293
http://www.numericalecology.com/
** Nouveaux livres --
** Legendre & Legendre 2012: Numerical ecology, 3rd English ed (Elsevier).
** Borcard, Gillet & Legendre 2014: Numerical ecology with R, Chinese ed.
** Borcard, Gillet & Legendre 2018: Numerical ecology with R, 2nd English ed.
|
vegan 2.5-4 was released today with these fixes. |
Kurt Hornik of CRAN sent email saying:
The breakage is the change of
formula
in R (issue #299) that we have already patched in the cran-2.5 branch.There are not so many changes in this release, but this would also fix #303, #304 and the
goodness
problem that @legendre reported in email.adonis
NA
handling (issue #302) cannot be merged to this minor release: master branch has changed too much, and it must wait for the 2.6 releases.I have also flagged #295 as a milestone issue that should be solved for this release. This issue is about handling partial ordination models in
RsquareAdj
. This is technically easy: we just revert some of the commits that removed Radj2 for partial models. It is only about deciding which commits should be reverted: RDA is obvious, but how to handle CCA?The text was updated successfully, but these errors were encountered: