View source: R/use_bioc_news_md.R
use_bioc_news_md | R Documentation |
This function is very similar to usethis::use_news_md()
except that it
uses a template from biocthis
.
use_bioc_news_md(open = rlang::is_interactive())
open |
Open the newly created file for editing? Happens in RStudio,
if applicable, or via |
Unlike the original function, use_bioc_news_md()
does not make git commits.
So you won't lose work you didn't save when using this function.
This function adds and/or replaces the NEWS.md
file in your
R package.
## Not run:
## Run this function in your package
use_bioc_news_md()
## End(Not run)
## Create an example package for illustrative purposes.
## Note: you do not need to run this for your own package!
pkgdir <- biocthis_example_pkg()
## Create a template NEWS.md file that is Bioconductor-friendly
biocthis::use_bioc_news_md()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.