Status
options("width"=108) pkg <- basename(getwd()) tmp <- packageDescription(pkg) date <- as.Date(file.info("R")$mtime)
cat("#", tmp$Title)
Version
cat(tmp$Version, "<br>\n", as.character(date))
Description
cat(tmp$Description)
License
cat(tmp$License, "<br>") cat(tmp$Author)
Citation
citation(pkg)
BibTex for citing
toBibtex(citation(pkg))
Installation
stable version from CRAN
install.packages("r6extended")
devtools::install_github("petermeissner/r6extended")
Example Usage
... starting up ...
library(r6extended)
new instance
ext <- r6extended$new()
whats there?
ext$ls()
getting things (wherever they are, also private stuff)
ext$get("options") ext$get("hashes")
messages
ext$message("Please note ...") ext$options$verbose <- FALSE ext$message("Please note ...")
build in hashing
ext$hash_do() ext$hash_get("options")
debugging
ext$debug() private$hash() self$ls()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.