Re: [Rd] Vignette questions

2012-04-12 Thread Uwe Ligges
On 12.04.2012 01:16, Paul Gilbert wrote: On 12-04-11 04:41 PM, Terry Therneau wrote: Context: R2.15-0 on Ubuntu. 1. I get a WARNING from CMD check for Package vignette(s) without corresponding PDF: In this case the vignettes directory had both the pdf and Rnw; do I need to move the pdf to

Re: [Rd] Vignette questions

2012-04-12 Thread Uwe Ligges
On 11.04.2012 23:28, Yihui Xie wrote: For 1, you should run R CMD check on the tar ball (pkg_x.x.tar.gz) from R CMD build instead of the source directory. R CMD build will build the PDF vignette into the tar ball. Just move vignette sources to :/vignettes in your package? Uwe For 2, I

Re: [Rd] Vignette questions

2012-04-12 Thread Uwe Ligges
, Claudia Von: r-devel-boun...@r-project.org [r-devel-boun...@r-project.org] im Auftrag von Yihui Xie [x...@yihui.name] Gesendet: Mittwoch, 11. April 2012 23:28 An: Terry Therneau Cc: r-devel@r-project.org Betreff: Re: [Rd] Vignette questions For 1, you should

Re: [Rd] Vignette questions

2012-04-12 Thread Terry Therneau
On 04/12/2012 02:15 AM, Uwe Ligges wrote: On 12.04.2012 01:16, Paul Gilbert wrote: On 12-04-11 04:41 PM, Terry Therneau wrote: Context: R2.15-0 on Ubuntu. 1. I get a WARNING from CMD check for Package vignette(s) without corresponding PDF: In this case the vignettes directory had both the

Re: [Rd] Vignette questions

2012-04-12 Thread Paul Gilbert
On 12-04-12 03:15 AM, Uwe Ligges wrote: On 12.04.2012 01:16, Paul Gilbert wrote: On 12-04-11 04:41 PM, Terry Therneau wrote: Context: R2.15-0 on Ubuntu. 1. I get a WARNING from CMD check for Package vignette(s) without corresponding PDF: In this case the vignettes directory had both the

Re: [Rd] Vignette questions

2012-04-12 Thread Yihui Xie
If R-forge gives the warning, it is likely to be their configuration problem (they may be running R CMD check on the original source directory instead of the tarball), so it is better to report to R-forge admins directly. I believe Terry is correct and it is a better practice *not* to put PDF

Re: [Rd] Vignette questions

2012-04-12 Thread Henrik Bengtsson
To have a prebuilt/static PDF appear as package vignette in the help, browseVignettes(), and on CRAN, you can do: 1. Copy the PDF to inst/doc/, e.g. inst/doc/manual.pdf 2. Create a dummy inst/doc/manual.Rnw that contains four lines or LaTeX code: %\VignetteIndexEntry{User manual}

[Rd] Vignette questions

2012-04-11 Thread Terry Therneau
Context: R2.15-0 on Ubuntu. 1. I get a WARNING from CMD check for Package vignette(s) without corresponding PDF: In this case the vignettes directory had both the pdf and Rnw; do I need to move the pdf to inst/doc? I'm reluctant to add the pdf to the svn source on Rforge, per the usual

Re: [Rd] Vignette questions

2012-04-11 Thread Yihui Xie
For 1, you should run R CMD check on the tar ball (pkg_x.x.tar.gz) from R CMD build instead of the source directory. R CMD build will build the PDF vignette into the tar ball. For 2, I have been confused by ./vignettes vs ./inst/doc since ./vignettes was introduced. I might be able to figure it

Re: [Rd] Vignette questions

2012-04-11 Thread Paul Gilbert
On 12-04-11 04:41 PM, Terry Therneau wrote: Context: R2.15-0 on Ubuntu. 1. I get a WARNING from CMD check for Package vignette(s) without corresponding PDF: In this case the vignettes directory had both the pdf and Rnw; do I need to move the pdf to inst/doc? Yes, you need to put the pdf in

Re: [Rd] Vignette Questions

2010-11-17 Thread friedrich . leisch
Dear List, I recently stumbled over the possibility and need to specifiy % \VignetteDepends{} in my vignettes. I did not know about this, and I notice that it is not mentioned in the R-extensions manual section Writing package vignettes. [...] Very strange, both Kurt Hornik and myself

[Rd] Vignette Questions

2010-11-16 Thread Claudia Beleites
Dear List, I recently stumbled over the possibility and need to specifiy % \VignetteDepends{} in my vignettes. I did not know about this, and I notice that it is not mentioned in the R-extensions manual section Writing package vignettes. I have some questions with regards to that: - would it