-
Notifications
You must be signed in to change notification settings - Fork 755
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
Discourage use of build_vignettes()
#2488
Comments
Having thought about this a lot while revising R Package, I'm going to record some thoughts before they leave my head. Why do people use
What's wrong with
|
One other thought on the first point: I think we should work with @romainfrancois to make knitting a vignette automatically install the package to a temporary library path first (figuring out some caching to make it not too slow). |
One of the undesirable features of build_vignettes() is that unlike the devtools::document() function it does not clear up after itself. If the developer removes or changes the name of myfunction.R, then the myfunction.Rd will be removed from the manual, however, if you remove vignettes/myvignette.Rmd, the docs will still contain the last build version of myvignette, which will trigger in some CI tools false alarms. |
Since it creates artefacts in a way that we no longer recommend.
The text was updated successfully, but these errors were encountered: