pkg_name <- desc::desc_get_field("Package","DESCRIPTION") pkg_name_code <- sprintf('`%s`',pkg_name) travis = list() travis$img <- sprintf('https://travis-ci.org/haneylab/%s.svg?branch=master',pkg_name) travis$url <- sprintf('https://travis-ci.org/haneylab/%s',pkg_name) travis$badge <- sprintf("[](%s)", travis$img,travis$url) codecov = list() codecov$img <- sprintf('https://img.shields.io/codecov/c/github/haneylab/%s/master.svg',pkg_name) codecov$url <- sprintf('https://codecov.io/github/haneylab/%s?branch=master',pkg_name) codecov$badge <- sprintf("[](%s)", codecov$img,codecov$url) cran = list() cran$img <- sprintf('http://www.r-pkg.org/badges/version/%s',pkg_name) cran$url <- sprintf('https://cran.r-project.org/package=%s',pkg_name) cran$badge <- sprintf("[](%s)", cran$img,cran$url) cran_log = list() cran_log$img <- sprintf('https://cranlogs.r-pkg.org/badges/%s',pkg_name) cran_log$url <- sprintf('https://www.rdocumentation.org/packages/%s',pkg_name) cran_log$badge <- sprintf("[](%s)", cran_log$img,cran_log$url) all_badges <- list(travis,codecov,cran,cran_log) all_badges <-paste(sapply(all_badges, function(l)l$badge), collapse = "") #tutorial_url <- sprintf("https://re.github.io/%s.html", pkg_name)
r pkg_name_code``r all_badges
r pkg_name_code
is a tool for graphing growth curve data from plate readers.
This README is a short explanation of the basics of r pkg_name_code
.
A comprehensive tutorial may be provided.
We also provide a conventional pdf documentation.
library(devtools) install_github("haneylab/`r pkg_name`")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.