[R-pkg-devel] Vignette title problem

Duncan Murdoch murdoch@dunc@n @ending from gm@il@com
Thu Sep 6 15:40:52 CEST 2018


On 06/09/2018 6:26 AM, Christopher John wrote:
> Dear CRAN
> 
> I have made a vignette and followed the instructions for adding a title and
> name at the top of the vignette, the title and name appears locally when I
> build it from RStudio. However, whenever it gets uploaded to CRAN, it is
> not there in the online vignette. The rest of the vignette is fine, just
> the title is missing.
> 
> Code (works locally to make header in RStudio):
> https://github.com/cran/clusterlab/blob/master/vignettes/introduction.Rmd
> 
> Vignette (without header):
> https://cran.r-project.org/web/packages/clusterlab/vignettes/introduction.html
> 
> Hopefully some one can help with this problem.


If you do a local install from the tar.gz file, do you get the title?  I 
think CRAN doesn't normally rebuild vignettes for storage, only for 
checking.

When I try to build the vignette from the source in your link, I get 
this error:

Quitting from lines 40-42 (Untitled.Rmd)
Error: `x` must be a string or a R connection
Execution halted

This comes from the code chunk

library(clusterlab)
synthetic <- clusterlab(centers=1,numbervec=100)

which generates that error on its own.

Duncan Murdoch



More information about the R-package-devel mailing list