Learn R Programming

targets (version 0.0.0.9000)

tar_undebug: Remove debugging files.

Description

Destroy _targets/workspaces/ and _targets/scratch/, which are directories with files for debugging.

Usage

tar_undebug()

Arguments

Value

Nothing.

Examples

Run this code
# 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