View source: R/tar_meta_download.R
tar_meta_download | R Documentation |
download local metadata files to the cloud location
(repository, bucket, and prefix) you set in
tar_option_set()
in _targets.R
.
tar_meta_download(
meta = TRUE,
progress = TRUE,
process = TRUE,
crew = TRUE,
verbose = TRUE,
strict = FALSE,
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. |
strict |
Logical of length 1. |
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_delete()
,
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_download()
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.