morphwj at comcast.net
2009-Oct-28 18:34 UTC
[R] Unsuccessful in reproducing README file in package build .zip and R library installed package folder
My OS is Windows XP. "Writing R Extensions", Section 1.1 states "?README? or ?ChangeLog? will be ignored by R, but may be useful to end-users."? I see examples of README files in packages grDevices folder afm and nlme folder mlbook. The README file was placed at the top level of the package source folder, after the DESCRIPTION file. After running R CMD check, build, and INSTALL --build, the README file was found in the tar.gz file.? However, it was not found in the zip file, the package Rcheck folder, and the R library package folder. How is the README put into build such that it is reproduced in the R library installed package folder? Bill Morphet, Ph.D.
Uwe Ligges
2009-Nov-13 18:43 UTC
[R] Unsuccessful in reproducing README file in package build .zip and R library installed package folder
[Going through some old and from what I see unanswered messages See Writing R Extensions: The contents of subdirectory ./inst will be copied to top level during package installation (i.e. also for making binary packages). Best wishes, Uwe Ligges morphwj at comcast.net wrote:> My OS is Windows XP. > > "Writing R Extensions", Section 1.1 states "?README? or ?ChangeLog? will be ignored by R, but may be useful to > > end-users." I see examples of README files in packages grDevices folder afm and nlme folder mlbook. > > > The README file was placed at the top level of the package source folder, after the DESCRIPTION file. > > After running R CMD check, build, and INSTALL --build, the README file was found in the tar.gz file. However, > > it was not found in the zip file, the package Rcheck folder, and the R library package folder. > > > How is the README put into build such that it is reproduced in the R library installed package folder? > > > Bill Morphet, Ph.D. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.