Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build_vignette fails quietly if no knitr available #736

barryrowlingson opened this issue Mar 10, 2015 · 2 comments

build_vignette fails quietly if no knitr available #736

barryrowlingson opened this issue Mar 10, 2015 · 2 comments


Copy link

I have a package with a knitr-built .Rnw vignette, pulled it to a new machine with the latest R and devtools. Build the vignette:

 > build_vignettes("./colloc/")

Nothing happens. Hmm. Try command line:

 Error in loadVignetteBuilder(pkgdir, TRUE) : 
   vignette builder 'knitr' not found

Installing knitr fixes the build_vignettes call.

Could build_vignettes produce an informative message as R CMD build does?

Copy link

hadley commented Apr 28, 2015

I just call tools::buildVignettes() so I'm a bit mystified as to why it doesn't complain.

What do you think about automatically installing the vignette builder package if needed?

@hadley hadley closed this as completed in d2bdbad Apr 30, 2015
Copy link

lock bot commented Sep 18, 2018

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue.

@lock lock bot locked and limited conversation to collaborators Sep 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
None yet

No branches or pull requests

2 participants