Bug 15775 - vignette creation fails silently if VignetteBuilder is not installed
Summary: vignette creation fails silently if VignetteBuilder is not installed
Status: CLOSED FIXED
Alias: None
Product: R
Classification: Unclassified
Component: Installation (show other bugs)
Version: R 3.0.2
Hardware: x86_64/x64/amd64 (64-bit) Linux
: P5 enhancement
Assignee: R-core
URL:
Depends on:
Blocks:
 
Reported: 2014-04-24 12:00 UTC by Simon Anders
Modified: 2014-05-14 15:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Anders 2014-04-24 12:00:23 UTC
I just tried to install a package with knitr (.Rnw) vignettes in the 'vignettes' directory, and the vignettes were not built because I had forgotten to install the "knitr" package. R passed over this error silently:

$ R CMD build .
* checking for file ‘./DESCRIPTION’ ... OK
* preparing ‘DESeq2paper’:
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* looking to see if a ‘data/datalist’ file should be added
* creating default NAMESPACE file
* building ‘DESeq2paper_1.0.tar.gz’

It would be good if R issued an error message (or at least a warning) if building a vignette is not possible because the vignette building engine specified in the "VignetteBuilder" line of the description field is not installed.
Comment 1 Simon Anders 2014-04-24 12:01:27 UTC
"... of the DESCRIPTION file ...", I meant to write
Comment 2 Brian Ripley 2014-05-14 15:03:23 UTC
There can be more than one engine.

If any of them are missing, R CMD build now gives an error.