Skip to content
Back to formatted view

Raw Message

Message-ID: <F45368D7-4AFE-4E90-8424-C05A756031DE@dcn.davis.ca.us>
Date: 2019-12-05T20:59:37Z
From: Jeff Newmiller
Subject: [R-pkg-devel] New Package olr 4 NOTES
In-Reply-To: <400569961.6084919.1575560446509@mail.yahoo.com>

I have not had good luck building packages for final delivery using devtools... use the command line, Luke!

On December 5, 2019 7:40:46 AM PST, Mat Fok via R-package-devel <r-package-devel at r-project.org> wrote:
>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 at 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 at r-project.org> on behalf
>of Mat Fok via R-package-devel <r-package-devel at 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 at 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 at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
>
>
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-package-devel at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-package-devel

-- 
Sent from my phone. Please excuse my brevity.