Closed njtierney closed 1 week ago
Is eval=FALSE
just so CRAN doesn't complain? It might be better to precompute the vignette instead.
Good idea with precomputing!
Because of the trick to set root.dir
to a temporary directory, you don't need tar_dir()
at all I think. All examples have three chunks: one with echo: false to write the _targets.R file with tar_script()
, one with eval: false to show the contents of _targets.R, and one with echo and eval true to run the pipeline and inspect results.
I didn't include much about the raster and vector GDAL options, because I don't have a good motivating example, but I did include examples of changing the driver and added an example with preserve_metadata = "zip"
.
@njtierney, I think this is pretty much done. Can you take a look when you get a chance?
Thanks so much for this, @Aariq !
I think it's great. I think that down the track we could provide some more information about using things like pattern = map()
, but that might be best put in another future vignette, or perhaps link to a repository that contains a worked example.
Happy to merge!
Yeah, the plan was to show some dynamic branching examples in a separate vignette focused on tar_terra_tile()
(#111), but I'm stuck on that because I really wanted tile_blocksize()
to work (#99)!
Still need to fill this in with more content from issues.
For example
geotargets_option_set
- https://github.com/njtierney/geotargets/pull/45This will resolve #17