Hi Ashim,

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 thread here

https://stat.ethz.ch/pipermail/r-devel/2011-May/060775.html

Regards,
Enrico

Am 21.09.2011 11:01, schrieb Ashim Kapoor:
Dear R-helpers,

www.statistik.lmu.de/~*leisch*/*Sweave*/*Sweave*-Rnews-2003-2.pdf

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.

Regards,
Ashim

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.


--
Enrico Schumann
Lucerne, Switzerland
http://nmof.net/

______________________________________________
R-help@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.

Reply via email to