R/rstudio.R
slimr_open_original.Rd
Open the original code used to create a slimr_script in a new document. Requires RStudio.
slimr_open_original(slimr_script_name = NULL)
Name of slimr_script to open in a new document as a string.
The code as a string (invisibly)
test <- minimal_slimr_script()
if(rlang::is_installed("rstudioapi") && interactive()) {
slimr_open_original("test")
}