[R-pkg-devel] New Package olr 4 NOTES

Mat Fok qu|k@||ver67213 @end|ng |rom y@hoo@com
Thu Dec 5 16:40:46 CET 2019


Hi Max,
Following your comment about, ".Rbuildignore is used by R CMD build to exclude some files from the bundled package. If you created the tar.gz file manually, then .Rbuildignore was, well, ignored. And .Rproj.user would then have been included in the tarball."
I assume that if I create the tar.gz file "automatically" through R and not 7zip, then the .Rbuildignore is not ignored and I won't have the problem of .Rproj.user being included in the tarball:

devtools::build(pkg = "C:/Rstuff/olr", path = NULL, binary = FALSE, vignettes = TRUE, manual = FALSE, args = NULL, quiet = FALSE)

√  checking for file 'C:\Rstuff\olr/DESCRIPTION' ...-  preparing 'olr':√  checking DESCRIPTION meta-information ...-  checking for LF line-endings in source and make files and shell scripts-  checking for empty or unneeded directories-  building 'olr_1.0.0.2000.tar.gz'   [1] "C:/Rstuff/olr_1.0.0.2000.tar.gz"
Thank you very much!





On Thursday, December 5, 2019, 9:25 AM, Max Turgeon <Max.Turgeon using umanitoba.ca> wrote:

#yiv7416260906 -- P {margin-top:0;margin-bottom:0;}#yiv7416260906 
.Rbuildignore is used by R CMD build to exclude some files from the bundled package. If you created the tar.gz file manually, then .Rbuildignore was, well, ignored. And .Rproj.user would then have been included in the tarball.





Max Turgeon
Assistant ProfessorDepartment of Statistics
Department of Computer Science
University of Manitobamaxturgeon.ca





From: R-package-devel <r-package-devel-bounces using r-project.org> on behalf of Mat Fok via R-package-devel <r-package-devel using r-project.org>
Sent: December 5, 2019 8:17 AM
To: Martin Maechler
Cc: R-package-devel
Subject: Re: [R-pkg-devel] New Package olr 4 NOTES I meant .Rbuildignore.


Sent from Yahoo Mail for iPhone


On Thursday, December 5, 2019, 3:19 AM, Martin Maechler <maechler using stat.math.ethz.ch> wrote:

>>>>> Mat Fok via R-package-devel 
>>>>>    on Wed, 4 Dec 2019 22:25:47 +0000 writes:

    > Hi,
    > Thank you. I am wondering why the log would output .Rproj.user when it was already in the .Rignorefile. Hope the .Rignore file is correct anyways as I have mentioned below.

If you really use .Rignore then no wonder you have problems.
The correct file name is  .Rbuildignore

Martin

    > Thanks,
    > Mathew




        [[alternative HTML version deleted]]

______________________________________________
R-package-devel using r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel




	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list