View source: R/tar_meta_delete.R
tar_meta_delete | R Documentation |
Delete the project metadata files from the local file system, the cloud, or both.
tar_meta_delete(
meta = TRUE,
progress = TRUE,
process = TRUE,
crew = TRUE,
verbose = TRUE,
delete = "all",
script = targets::tar_config_get("script"),
store = targets::tar_config_get("store")
)
meta |
Logical of length 1, whether to process the main metadata file
at |
progress |
Logical of length 1, whether to process the progress file at
|
process |
Logical of length 1, whether to process the process file at
|
crew |
Logical of length 1, whether to process the |
verbose |
Logical of length 1, whether to print informative console messages. |
delete |
Character of length 1, which location to delete the files.
Choose |
script |
Character of length 1, path to the
target script file. Defaults to |
store |
Character of length 1, path to the
|
Other metadata:
tar_meta()
,
tar_meta_download()
,
tar_meta_sync()
,
tar_meta_upload()
if (identical(Sys.getenv("TAR_EXAMPLES"), "true")) { # for CRAN
tar_dir({ # tar_dir() runs code from a temp dir for CRAN.
tar_script({
library(targets)
library(tarchetypes)
tar_option_set(
resources = tar_resources(
aws = tar_resources_aws(
bucket = "YOUR_BUCKET_NAME",
prefix = "YOUR_PROJECT_NAME"
)
),
repository = "aws"
)
list(
tar_target(x, data.frame(x = seq_len(2), y = seq_len(2)))
)
})
tar_make()
tar_meta_delete()
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.