On 29/10/2021 4:23 p.m., Gábor Csárdi wrote:
You probably (accidentally?) put some large object into your package,
e.g. a non-function object. But it is hard to say more without seeing
the actual code....
Yes. To track it down, you need to understand that an INSTALL executes
everything in the .R files, and saves every object that was created. In
a simple package, that's just a bunch of functions, but in more
complicated situations, you may have created some objects in order to
build functions, even though you don't need them: but unless you remove
them, it's very easy to have them included too.
Duncan Murdoch
Gabor
On Fri, Oct 29, 2021 at 10:07 PM Mosqueira Sanchez, Iago
<iago.mosque...@wur.nl> wrote:
I am getting warnings in some packages about the size of the R folder
* checking installed package size ... NOTE
installed size is 20.5Mb
sub-directories of 1Mb or more:
data 2.4Mb
R 17.8Mb
This package contains around 3300 lines of code, if the results of
grep -v '^\s*#' *.R | wc
are correct.
Is this size to be expected? Is there anything I might be missinmg to
make it smaller?
Thanks,
Iago
--
dr. Iago Mosqueira
Wageningen Marine Research
Haringkade 1
Postbus 68
1976CP, IJmuiden
Tel.: +31 (0)317 488 995
iago.mosque...@wur.nl
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel