From 28fe5039b21963e754391cac53f39233423c6c8f Mon Sep 17 00:00:00 2001 From: bzkrouse Date: Fri, 15 Feb 2019 09:48:00 -0500 Subject: [PATCH] add lib call to report code --- .../eDISH_app/modules/renderChart/eDishReport/eDishReport.Rmd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inst/eDISH_app/modules/renderChart/eDishReport/eDishReport.Rmd b/inst/eDISH_app/modules/renderChart/eDishReport/eDishReport.Rmd index 7ebfcedf..f3202e56 100644 --- a/inst/eDISH_app/modules/renderChart/eDishReport/eDishReport.Rmd +++ b/inst/eDISH_app/modules/renderChart/eDishReport/eDishReport.Rmd @@ -33,9 +33,11 @@ safetyGraphics is an open source project built using standard web technology and #### Code to Reproduce Chart -Use the script below to (1) load your data and (2) render the chart. Make sure to update the first line to point at your data. +Use the script below to (1) load the safetyGraphics package, (2) load your data and (3) render the chart. Make sure to update the second line to point at your data. ```{r, comment=NA, echo=FALSE} +lib_code <- quote(library(safetyGraphics)) +lib_code writeLines("path <- 'path_to_data'") ### <-- Update this! writeLines("my_data <- read.csv(file.path(path, 'data.csv'))")