Skip to content
Prev 9686 / 21312 Next

[Bioc-devel] Missing vignette on my BioConductor page

On 09/14/2016 08:49 AM, Marine Rohmer wrote:
At the top of your file you've chosen to use knitr for compilation by 
saying

%\VignetteEngine{knitr::knitr}

so you have to include in the DESCRIPTION

Suggests: knitr
VignetteBuilder: knitr

Or you could remove the VignetteEngine tag if you do not wish to use 
knitr, and make no further changes.

You can test that things are working by (a) removing the pdf version of 
the vignette from the vignettes directory then (b) build the package

   R CMD build ISoLDE

you'll see

* installing the package to build vignettes
* creating vignettes ... OK

which you would not see without the changes above. You can then look in 
the resulting tarball for an inst/doc directory that will now contain 
the built vignette.

Bioconductor vignettes are required to have evaluated code chunks rather 
than 'copy-and-paste' commands. This keeps the vignette closer to 
reality than a work of fiction, and provides some confidence that the 
code is functioning at least approximately the way the author intended. 
So one getting the vignette to compile, you should replace the 
copy-paste code with real code

<<my-chunk>>=
1  + 1
@

Hope that helps...

Martin
This email message may contain legally privileged and/or...{{dropped:2}}