knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
To install the Shiny app in an Rstudio session please use the following code.
Please note, that in R, code that is preceded by a # is not run (we often use the # symbol to write in non-code comments). You can run a line of code that is preceded by a # by deleting the # symbol.
list.of.packages <- c("devtools") new.packages <- list.of.packages[!(list.of.packages %in% installed.packages()[,"Package"])] if(length(new.packages)) install.packages(new.packages) library(devtools)
devtools::install_github("DrMattG/HarvestGolem")
library(HarvestGolem)
The package has one function (which launches the Shiny App locally).
To launch the App type this code in to the Console after you have loaded the library:
HarvestGolem::run_app()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.