Because the vast majority of packages created here will not end up on CRAN the build_vignettes() function in devtools may prove problematic because it doesn't keep a .md file around that is easily readable for github. For README's this isn't a problem as we can set the .yaml to something like this:
However for a vignette this isn't the typical .yaml. Since vignettes are a critical way of communicating a package I wonder if some sort of custom rendering function might be useful. There are likely other ways to do this but one option is to define a function like this to keep the .md file so that at least it can pointed to on github
Because the vast majority of packages created here will not end up on CRAN the
build_vignettes()
function indevtools
may prove problematic because it doesn't keep a.md
file around that is easily readable for github. For README's this isn't a problem as we can set the .yaml to something like this:However for a vignette this isn't the typical .yaml. Since vignettes are a critical way of communicating a package I wonder if some sort of custom rendering function might be useful. There are likely other ways to do this but one option is to define a function like this to keep the
.md
file so that at least it can pointed to on github