Copy original slimrlang code used to create a slimr_script object to the clipboard

slimr_clip_original(slimr_script_name = NULL)

Arguments

slimr_script_name

Name of slimr_script to copy its original code to the clipboard, as a string

Value

The code as a string (invisibly)

Examples

test <- minimal_slimr_script()
if(rlang::is_installed("clipr") && interactive()) {
    slimr_clip_original("test")
}