Hi,
I have a question regarding the Bioconductor source control repository. I was wondering whether I should upload the original sources or the built version of a package. I could not find the answer anywhere, and the reason I am asking this is that I get the following warning from the daily BioC 2.11 build/check report during the check:
checking data for ASCII and uncompressed saves ... WARNING
Note: significantly better compression could be obtained
by using R CMD build --resave-data
I currently commit the sources to the SVN before building them. If I build the package using the --resave-data option and then run R CMD check it, the warning does not show anymore. Should I rather commit the built version of the package to the svn, in oder to get rid of the warning, or is this nothing severe anyways?
Thanks,
Juliane
[Bioc-devel] Bioconductor SVN
2 messages · Siebourg Juliane, Kasper Daniel Hansen
You should use tools::resaveRdaFiles to fix this. You do
library(tools)
save(object, file = "object.rda")
resaveRdaFiles("object.rda")
then the new rda file is saved as compressed as possible, and you can
commit this rda file to the source repository.
Kasper
On Wed, Jul 4, 2012 at 6:14 AM, Siebourg Juliane
<juliane.siebourg at bsse.ethz.ch> wrote:
Hi,
I have a question regarding the Bioconductor source control repository. I was wondering whether I should upload the original sources or the built version of a package. I could not find the answer anywhere, and the reason I am asking this is that I get the following warning from the daily BioC 2.11 build/check report during the check:
checking data for ASCII and uncompressed saves ... WARNING
Note: significantly better compression could be obtained
by using R CMD build --resave-data
I currently commit the sources to the SVN before building them. If I build the package using the --resave-data option and then run R CMD check it, the warning does not show anymore. Should I rather commit the built version of the package to the svn, in oder to get rid of the warning, or is this nothing severe anyways?
Thanks,
Juliane
_______________________________________________ Bioc-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel