Description Usage Arguments Value Examples
View source: R/use_bioc_vignette.R
This function is very similar to usethis::use_vignette()
except
that it uses a template from biocthis
. This template includes
instructions for citing other packages using RefManageR
, uses
sessioninfo::session_info()
for displaying the R session information since
it includes GitHub installation information and other useful details. The
template also includes a section on how to ask for help and required
knowledge.
1 |
name |
Just like in |
title |
Just like in |
This function adds and/or replaces the
vignettes/<name>.Rmd
file in your R package.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
## Run this function in your package
pkg <- basename(usethis::proj_get())
biocthis::use_bioc_vignette(pkg, paste("Introduction to", pkg))
## 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 vignette file that is Bioconductor-friendly
biocthis::use_bioc_vignette("biocthisexample", "Introduction to biocthisexample")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.