knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
You can install the package from Github with
devtools::install_github("markusdumke/pkghelper")
Currently the package includes functions which scan the R code in the package for all packages in use and writes these packages to the Imports field of the DESCRIPTION file.
Together with devtools and roxygen2 this package helps to make the R package
generation process more automatically.
library(pkghelper) # Get names of packages my package depends on get_dependencies()
# Modify DESCRIPTION write_dependencies()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.