-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hey guys,
you may remember me enquiring about this. Basically, we want the README.md to contain some doc, ideally a vignette. I wasn't sure how to do it. Apparently, there is currently no native support on github for the equivalent of the C:
#include "myFile"
I came up with a workaround which is:
- Have a regular markdown vignette in the package structure, in vignettes/
- Use a README.Rmd which will recompile the vignette and include its md output into itself
- Generate README.md from README.Rmd using knit("README.Rmd")
Example for the apex package:
https://github.com/thibautjombart/apex
Easy to extend to any other package. It does require knitr to be the vignette engine though.
Metadata
Metadata
Assignees
Labels
No labels