[Bioc-devel] EXTERNAL: build_vignette
Hi Kenneth, I was unable to reproduce the issue that you described in your original email with a different package (without access to your package). I ran `devtools::build_vignettes` on the `RaggedExperiment` package and the vignettes were built without a problem (with pandoc installed): > devtools::build_vignettes() Building RaggedExperiment vignettes Moving RaggedExperiment.html, RaggedExperiment.R to inst/doc/ Copying RaggedExperiment.Rmd to inst/doc/ Note that the Rmd file was only copied from the vignettes directory. *But*, I wouldn't usually build vignettes this way for testing. I think you want to use the "knit" button in RStudio (keyboard shortcut: ctrl + shift + K) to be able to see the rendered doc. Go to 'Help' > 'Keyboard shortcuts help' to look for the appropriate shortcut if you are not using Linux. Also, I was not able to find the `add_vignette` function. I'm not sure where you are getting this function from. PS. I'm using Rdevel 3.5.0 (r74109) and devtools pkg version 1.13.5 on Ubuntu 16.04. Regards, Marcel
On 04/11/2018 05:06 PM, Kenneth Condon wrote:
Hi, I am creating my first package and have run into an issue when building the vignette with devtools::build_vignette() in Rstudio. In a nutshell, I add_vignette() , make a few edits, build_vignette, view the redered html. That is all fine until I try to make more edits to the .Rmd file. As soon as I try to build_vignette() and overwrite the current vignettes, all that happens is the .Rmd file is deleted, and the newly edited .html + .R files remain in the vignettes folder (not copied to inst/docs). I wouldn't mind this, but for the deletion of the .Rmd file So is build_vignette designed to just be run once on a complette .Rmd file? How do I view the redered edits I make? Do people just use pandoc? Regards, Kenneth. [[alternative HTML version deleted]]
_______________________________________________ Bioc-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel
This email message may contain legally privileged and/or...{{dropped:4}}