[R] R CMD build and vignettes
enricoschumann at yahoo.de
Wed Sep 21 12:23:59 CEST 2011
after 'R CMD build' the vignettes are in the <pkg>*.tar.gz file, not in
your package directory. So if you run 'R CMD build <pkg>' and then 'R
CMD check <pkg>*.tar.gz', you should not get that warning.
For such questions you may get better answers on R-devel; see, eg, this
Am 21.09.2011 11:01, schrieb Ashim Kapoor:
> Dear R-helpers,
> says that R CMD build creates the pdf from a .Rnw file. But when I do R CMD
> build followed by R CMD check it gives me a warning that there is a vignette
> without a PDF. My query is : when
> R CMD build works it creates a pdf in the doc subdirectory of the directory
> returned by system.file(package = mypackage) and not in the inst/doc
> directory of the package that we are creating. Do we have to Sweave and
> create the pdf in the inst/doc subdirectory on our own ? Please clarify.
> [[alternative HTML version deleted]]
> 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.
More information about the R-help