-
Notifications
You must be signed in to change notification settings - Fork 991
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
One note on CRAN about package size on Solaris #3058
Comments
CRAN has replied
I take this as meaning don't spend any time on it now (not even for next release) and we'll look again at it in future if and when the size exceeds 5MB on Windows or Linux, not just Solaris. |
For completeness, I looked at the 4 largest test data files above, briefly. They are non-trivial to reduce in size. They need to be large enough to trigger fread sampling and are related to jump points / handovers. The risk in reducing their size would be no longer testing the desired edge cases. |
Dare we try and combine those files?
Or potentially make those tests depend on an internet connection?
…On Thu, Sep 27, 2018, 7:52 AM Matt Dowle ***@***.***> wrote:
For completeness, I looked at the 4 largest test data files above,
briefly. They are non-trivial to reduce in size. They need to be large
enough to trigger fread sampling and are related to jump points /
handovers. The risk in reducing their size would be no longer testing the
desired edge cases.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3058 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHQQdRFjeDrhFtpd7NWULBnFI5H7QYkDks5ufBM-gaJpZM4WzUp1>
.
|
Combining you mean like stacking? They're all different format. |
more like merging? idea being to end up with one large file that covers all the edge case grounds intended by the four files we have now.... taking a glance I guess the logic of will be a time sink but maybe worth considering if we eventually are asked to shrink... |
Ok I see. That's in theory possible (0.01% chance) I guess. But a time sink as you say, and risk. |
Finally realized the obvious solution: compress those 4 files. That would save 608KB and give us plenty of breathing space. Then
|
One note on CRAN.
I guess the binary is slightly larger on Solaris for some reason and has just tipped it over 5MB limit to 5.1MB. The datatable.so for me locally is 430KB. Looks like it's twice that (1.1MB) on Solaris since that's the only file that
libs/
contains. Or it's possible thatlibs/
on Solaris contains another file.Therefore, focussing on
tests
:We can't reduce
tests.Rraw
(12,257 lines of tests) but it may be possible to reduce the next 4 largest data files, potentially saving up to 108+140+180+284 = 712K.The text was updated successfully, but these errors were encountered: