-
Notifications
You must be signed in to change notification settings - Fork 193
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
submit changes necessary for cran #2094
base: latest
Are you sure you want to change the base?
submit changes necessary for cran #2094
Conversation
Ready for release 1.9.0
Thanks, I'll look at these in due course, but I'm on holiday without access to a Linux machine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I now see properly what the changes are. The CRLF to CR changes are uncontroversial. Do they come from editing on Windows creating the "^M" that's seen when viewing files on a Linux editor?
I'll leave the PDLP modifications to @galabovaa, but I guess they are fine
Thank you!
Yes exactly.
You can reproduce the warnings by adding the flag |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
The repo for R packages (CRAN) has very strict requirements (enforced by custom checks) which have to be fully filled otherwise the package is removed from CRAN.
The following small changes are required from CRAN currently I apply them at each update. It would be nice if you could apply the changes upstream since it would simplify the maintenance of the R package and the changes are quite simple.
extern/filereaderlp/reader.cpp
andextern/filereaderlp/reader.hpp
CRLF line endings are replaced with CR to address the CRAN warning
"Found the following sources/headers with CR or CRLF line endings".
Changed
void PDHG_PrintUserParamHelper()
tovoid PDHG_PrintUserParamHelper(void)
andvoid PDHG_PrintHugeCUPDHG()
tovoid PDHG_PrintHugeCUPDHG(void)
to address the CRAN warning
"function declaration isn't a prototype"
Added a newline at several files to address the CRAN warning
"Found the following sources/headers not terminated with a newline:"