pkg <- read.dcf("DESCRIPTION", fields = "Package")[1] title <- read.dcf("DESCRIPTION", fields = "Title")[1] description <- read.dcf("DESCRIPTION", fields = "Description")[1] URL <- read.dcf('DESCRIPTION', fields = 'URL')[1] owner <- tolower(strsplit(URL,"/")[[1]][4])
r pkg
: r title
r description
If you use r pkg
, please cite:
r utils::citation(pkg)$textVersion
if(!require("remotes")) install.packages("remotes") remotes::install_github("`r URL`") library(`r pkg`)
UK Dementia Research Institute
Department of Brain Sciences
Faculty of Medicine
Imperial College London
GitHub
DockerHub
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.