-
Notifications
You must be signed in to change notification settings - Fork 18
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
Package back to CRAN? #41
Comments
I cannot see the CRAN check errors: https://cran-archive.r-project.org/web/checks/2020/2020-12-04_check_results_lfe.html for r-patched-solaris-x86, is anyone having the same issue? I also emailed [email protected] Running tests on my local machine, I see that these are just warning for numerical inconsistencies between output tests from the examples. This comes from the file Here is the output I get with R 4.0.3 and lfe 2.8.4:
Unfold full output
|
My students also can't load |
@MatthieuStigler |
thanks @Helix123 My confusion is that I thought any Or, in other terms, how would you re-run and update |
It is generated automatically by Very useful but not well known! |
Thanks @Helix123 . This is badly documented indeed. My understanding is that one needs to run R CMD CHECK, and extract manually the |
I've made a simple and blind update of update |
Thanks, Matthieu, much appreciated! As the CRAN task view "Econometrics" was affected by this, I asked the CRAN team what all the reasons for CRAN archival were so that you could help resolving them. They said that the issue was misuse of sprintf (seen in the differences from .Rout.save that you addressed now) and repeated non-response from the maintainer. Note that tracking such issues and asking for updates is work for the CRAN team and they already did a non-maintainer update (NMU) in July for version 2.8-5.1. Hence the CRAN team was reluctant to become de facto maintainers for the package (they already had to do another NMU in March 2019) and decided to archive the package on CRAN. I can understand that decision and would not put the blame on them @SebKrantz. Of course, @sgaure might also have his reasons for not responding to CRAN, it's a difficult year for everybody. But maybe passing on the maintenance might be an option that would help both Simen and the CRAN team? Thanks to all of you for help with this! One more comment: As far as I can see the changes made in the package by the CRAN team for 2.8-5.1 were also not ported to the sources here on GitHub, yet. |
Thank you for chiming in and for shedding some light on this, @zeileis! |
Ouch, touché! My sincere apologies @SebKrantz!! I overlooked the subtle difference between your name and that of the blog author. I should have been more careful about this, sorry! |
Thanks Achim @zeileis, very useful! So we need to backport to git the update 2.8.5 and 2.8.5-1, I can look at that. I am not sure what those sprintf errors were, all I did is to update manually the Now apparently (from the last check) the main reason for rejecting the package was a note on Solaris: One needs to look at
|
I asked about this, too, but my understanding of the response from the CRAN team is that the compiler flag was not the critical issue but rather the sprintf misuse + .Rout.save and the repeated non-response from the maintainer. The compiler flag might be hard to avoid? Maybe it was like that for several releases already? I couldn't very this because there are no CRAN check archives for releases from 2019 or before. Provided the other issues are addressed one could reach out to the CRAN team and ask about this again. In my view, the most critical aspect is to have a responsive maintainer for the package again - one way or another. |
Ok, I submitted a cleaned version to CRAN, let us hope it goes through! |
Thanks! Let me know if I can re-include the package in the Econometrics task view - or if I can help with anything else. |
Hey guys, thanks a lot for the effort ! As far as |
So my first attempt to submit the package hasn't worked out for now. CRAN maintainers are concerned about the Solaris compiler flag issue. They would eventually accept a submission now, under the promise that the issue would be solved quickly, which I definitely cannot commit to. Would anyone be ready to have a look at this compiler issue? @SebKrantz you are quite versed in compiled code, right? ;-) Or @lrdegeest @Helix123 . Or @zeileis feel like discussing with the CRAN people? Questions I have:
This is confusing as seems to be defined as: |
Your effort is very much appreciated! Hope we can get there. Sorry, no compiled code knowledge in R packages on my side (let alone make files, compiler flags and/or compiling for Solaris) |
So this Makefile generating stuff is also hieroglyphs to me, but you can sort out things by googling and trying around. -mt as fas as I understand has something to do with multithreading. And it does not work anymore because Solaris has changed the default compiler. based on some googling i.e. here it seems to be an old flag, replaceable by -pthread (which is already there, so just try removing it). If that doesn't work, this documentation suggests one could replace -mt with '-D_REENTRANT -lthread' (as it is some form of shortcut). this post suggests we sould not use CFLAGS on Solaris, which seems to warrant some more substantial changes. First try removing and then replacing it. If none of these work, we may have to add some lines to that file that detect the operating system and remove -mt on solaris. As you already seem to have this set up @MatthieuStigler, I would be happy if you could try those things out. I'm not really smarter here. May also have to replace / remove lines 3608-3613. |
Thanks @SebKrantz , this is very useful! So good news is I believe the file is already doing some platform-specific checks, see lines in Line 3381: And That's a little confusing to understand what the end-result will be? Are those just concatenated? So we would have a line like:
That sounds very strange to me? So far I just tried to remove the first
This still had the issue... was I suppose to re-configure something myself? (beyond what devtools does?)? Or did I remove Thanks! |
Can you still try removing all the -mt's e.g. everywhere it appears in the repo (also in -mt, pthread), remove '-mt,'. |
ok, I can try that. But do I need to run anything locally, like
which seems to copy those? Is that one created by configure? |
I tried simply removing Oracle Solaris 10, x86, 32 bit, R-release, Oracle Developer Studio 12.6
Oracle Solaris 10, x86, 32 bit, R-releaseNote that some of these warnings might have happened anyway:
|
It seems this package is no longer maintained anymore. |
I just submitted a corrected version on CRAN two days ago! Hopefully the CRAN maintainers will accept uploading it even if there's still the compiler flag issue. So hopefully should be back on CRAN very |
While we wait for @MatthieuStigler's adopted version to hit CRAN, just an aside that I've written a little conversion package that takes |
I head back from the CRAN maintainers, who raised several concerns after doing a thorough check of the code. I am traveling today and starting a quarantine so will need a few days to fix the issues. In the meanwhile, if someone wants to try to look at one of the issues and send a pull request to my repo (https://github.com/MatthieuStigler/lfe), that would be welcome! Concerns were:
|
@MatthieuStigler I think that I'm the only other person here with write access to your fork. I've taken a quick stab at these and should have resolved everything — although, please check — except the second-to-last comment about I can see two places where the |
Thanks Grant!! I will check those! Still travelling And no need to have direct write access to my repo, but would need to fork mine separately then do the pull reuqest For the I see you have been re-building docs, and now exporting also doc fur unexported |
Oh, sorry that was just an artefact of my doc checking/building. Agree that it still needs to be validated against edge cases so feel free to exclude. |
Any update? |
The package is ready for (re-re-) submission, but unfortunately submissions to CRAN are not possible during the Winter Break, though they will resume on Jan 4th onwards. @grantmcdermott thanks for all the good work! The .Rd problem was actually my fault, I omitted using `@noRd! |
I was just going to mention it @eddelbuettel ! To make up for spoiling the announcement, is there any chance you could have a quick look at the note on Solaris, |
I don't know and have no access to Solaris either but glancing at this page I noticed you analysed |
sgaure/lfe#41 seems to be resolved, since the package is now on CRAN and can be installed. Fixes #2239
sgaure/lfe#41 seems to be resolved, since the package is now on CRAN and can be installed. Fixes #2239
Hi, collapse currently has a soft dependency on lfe. I see this package was just removed from CRAN. Could it be added back?
Best regards,
Sebastian
The text was updated successfully, but these errors were encountered: