R/rstudio.R
slimr_clip_original.Rd
Copy original slimrlang code used to create a slimr_script object to the clipboard
slimr_clip_original(slimr_script_name = NULL)
Name of slimr_script to copy its original code to the clipboard, as a string
The code as a string (invisibly)
test <- minimal_slimr_script()
if(rlang::is_installed("clipr") && interactive()) {
slimr_clip_original("test")
}