Create an environment setup script that loads dependencies that are helpful for running and debugging rTisane programs. For example, I have a env_setup.R
file that contains the following:
options(shiny.launch.browser = .rs.invokeShinyWindowExternal)
library(shiny)
library(plotly)
# For development
devtools::load_all()
devtools
package.library(devtools)
...
browser()
...
browser()
checkpoints are ignored. rlang::with_interactive(test_active_file())
# Add to ~/.Rprofile to prevent Shiny from opening new RStudio internal browser each time
options(shiny.launch.browser = .rs.invokeShinyWindowExternal)
Note: The code generation module relies on a separate Python package, tisanecodegenerator. If there are bugs in the code generator module, file issues here.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.