# NOT RUN {
tar_script({
tar_option_set(error = "save") # Required for saving workspaces.
tar_pipeline(
tar_target(x, "loaded"),
tar_target(y, stop(x))
)
})
try(tar_make())
file.exists("_targets/workspaces/y") # TRUE
tar_undebug()
file.exists("_targets/workspaces/y") # FALSE
# }
Run the code above in your browser using DataLab