description <- readLines("DESCRIPTION") rvers <- stringr::str_match(grep("R \\(", description, value = TRUE), "[0-9]{1,4}\\.[0-9]{1,4}\\.[0-9]{1,4}")[1,1]
description <- readLines("DESCRIPTION") version <- gsub(" ", "", gsub("Version:", "", grep("Version:", description, value = TRUE)))
knitr::opts_chunk$set(echo = TRUE)
Convert some Latex outputs to png in order to be used in HTML documents.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.