I have NEWS, WISHLIST and THANKS files in the 'dyn' package in the same directory as the DESCRIPTION file but I noticed that they did not survive the move to CRAN, at least on Windows. How do I incorporate them so that they are not omitted?
Things not required to be there needs to be placed in inst/, so they will make it into the binary package. This is where I had to put the NEWS file for my package, as I learned here a while ago. Andy> From: Gabor Grothendieck > > I have NEWS, WISHLIST and THANKS files in the 'dyn' package > in the same directory as the DESCRIPTION file but I noticed that they > did not survive the move to CRAN, at least on Windows. > How do I incorporate them so that they are not omitted? > > ______________________________________________ > R-devel@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > > >
On 6/9/2005 3:41 PM, Gabor Grothendieck wrote:> I have NEWS, WISHLIST and THANKS files in the 'dyn' package > in the same directory as the DESCRIPTION file but I noticed that they > did not survive the move to CRAN, at least on Windows. > How do I incorporate them so that they are not omitted?The R extensions manuals tells you the filenames that mean something to R. (See the "Package Structure" section.) All else is omitted unless it's in the inst directory, in which case it should be copied up a level upon installation. Duncan Murdoch
On Thu, 9 Jun 2005 15:41:32 -0400 Gabor Grothendieck wrote:> I have NEWS, WISHLIST and THANKS files in the 'dyn' package > in the same directory as the DESCRIPTION file but I noticed that they > did not survive the move to CRAN, at least on Windows.Moving to CRAN per se has nothing to do with this. If the files have been in the source package you submitted (they have been, including a safety copy DESCRIPTION~ which you might want to eliminate in future versions), they are also in the source package on CRAN. The point is that they are not installed and hence not included in binary packages.> How do I incorporate them so that they are not omitted?Put them into the inst/ subdirectory, then they will also be installed. Z
On 6/9/05, Achim Zeileis <Achim.Zeileis@wu-wien.ac.at> wrote:> On Thu, 9 Jun 2005 15:41:32 -0400 Gabor Grothendieck wrote: >> Moving to CRAN per se has nothing to do with this. If the files have > been in the source package you submitted (they have been, including a > safety copy DESCRIPTION~ which you might want to eliminate in futureThe R-exts manual says in the section on .Rbuildignore (page 13) that filenames ending in ~ are automatically excluded. Is that not the case?
R CMD build ignores files that it thinks does not belong to the source package (basically files that it does not know about). I believe that's the point made in R-exts. Andy> From: Gabor Grothendieck > > On 6/9/05, Achim Zeileis <Achim.Zeileis@wu-wien.ac.at> wrote: > > On Thu, 9 Jun 2005 15:41:32 -0400 Gabor Grothendieck wrote: > > > > > I have NEWS, WISHLIST and THANKS files in the 'dyn' package > > > in the same directory as the DESCRIPTION file but I > noticed that they > > > did not survive the move to CRAN, at least on Windows. > > > > Moving to CRAN per se has nothing to do with this. If the files have > > been in the source package you submitted (they have been, > including a > > safety copy DESCRIPTION~ which you might want to eliminate in future > > versions), they are also in the source package on CRAN. > > The point is that they are not installed and hence not included in > > binary packages. > > > > > How do I incorporate them so that they are not omitted? > > > > Put them into the inst/ subdirectory, then they will also > be installed. > > Z > > > > Thanks, all. I think the manual could be more specific on this point. > I reread it based on Duncan's comment but did not see the advice > given in this thread there. What it does say is that README, NEWS > and ChangeLog "will be ignored by R" but is that supposed to mean > that it deletes them or just does not process them as part of the > automated documentation or what? I guess it means that it > does not propogate them into the installed version but if that's the > case it should say so and tell you what to do to get them to > appear. > > Just to confirm I assume that if I place these files and > also the README > which I forgot to mention) in inst they automatically get > copied to the main > directory at installation (where my DESCRIPTION file is) -- > or is there > something that I have to do to have this happen? > > ______________________________________________ > R-devel@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > > >