Im uses knitr::rmarkdown(but knitr::knitrdoes the same) as my VignetteEngine. Then I create my vignette with devtools::build_vignettes().
This works, but only creates HTML and R's output files inst/doc. What I want is the Markdown output file, since only this can be displayed directly on the pages of the Github project (for HTML files, Github shows the source, and for Rmd files it displays the output, but obviously without executing R blocks).
Ive tried to figure out how to specify custom output VignetteEngine, and I think it should be possible (after all, other packages use this to create PDF vignettes, at least), but I can't find a way to do this through devtools::build_vignettes. Is there no way to create a vignette manually (i.e., through knitr::knitor similar mechanisms that ignore directives VignetteBuilder)?
I can not find the relevant information in the documentation / source.
source
share