``` {r setup, echo = FALSE}
library(recordr)
``` {r run the script, echo = TRUE} dir_git <- '~/github/ohibc' dir_test <- file.path(dir_git, 'rmd_testing') rc <- new("Recordr") sampleScript <- path.expand(file.path(dir_test, 'recordr_test.R')) sampleScript <- system.file('extdata/EmCoverage.R', package = 'recordr') runid <- record(rc, sampleScript, tag="first recordr run")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.