I have an R
package on GitHub that I am about to submit to CRAN. Up to now, the package has had an extensive README.md document that shows:
- examples of package core functions execution,
- examples of package demo execution,
- some benchmark results.
For the purposes of GitHub users, I thought that putting these to README.md is more appealing than vignette as it shows up when a user views the package's repo.
When I am at the point of moving the package to CRAN, I would like to have pretty much the same content as currently in README.md available in a form of a vignette.
Question: is it a correct way of acting to make an almost 1-1 copy of README.md into a vignette, keep both, update GitHub repo to have this vignette as well, and then submit as such to CRAN? Or: it would pose a duplication that should not take place? (then how should I proceed?)