# NOT RUN {
if (identical(Sys.getenv("TAR_EXAMPLES"), "true")) {
# Somewhere in you target script file (usually _targets.R):
tar_target(
name,
command(),
format = "url",
resources = tar_resources(
url = tar_resources_url(handle = curl::new_handle())
)
)
}
# }
Run the code above in your browser using DataLab