[R] R-ex folder in user-created package
mark.lyman at gmail.com
Wed Apr 2 19:24:11 CEST 2008
Mark Lyman <mark.lyman <at> gmail.com> writes:
> When I run R CMD check pkg the R-ex folder containing examples is created in
> pkg.Rcheck/pkg, however, when I run R CMD build pkg or R CMD INSTALL --build
> pkg, it is not created. Should the folder and its examples be created
> manually? I am running R 2.6.2 on Windows XP.
> R-help <at> r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
I have discovered my error. I over-looked the fact that examples are a type of
documentation. I didn't realize that the command R CMD INSTALL --build --
docs="txt,html" would not create the examples.
More information about the R-help