Description Usage Arguments Warning Examples
View source: R/load_reactive_objects.R
This function will run all assignments of your R or Rmd. file In the process, this function will encourage the creation of a dummy input
list that will mimic user input and allow your code to run. Lastly, reactive objects are converted to functions so they can still be called as df()
etc.
1 2 |
file |
Rmd to be evaluated and loaded into global environment |
clear_environment |
When |
restart |
When |
keep |
a regular expression of objects to keep when |
This function has the ability to overwrite your objects in your global environment. Make sure you understand how this function works before moving forward.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
system.file(package = "shinysim", "Rmd/test_dashboard.Rmd") %>%
load_reactive_objects()
system.file(package = "shinysim", "Rmd/test_dashboard_no_inputs.Rmd") %>%
load_reactive_objects()
system.file(package = "shinysim", "Rmd/test_dashboard_missing_inputs.Rmd") %>%
load_reactive_objects()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.