Eric R. Scott
Eric R. Scott
It would be worthwhile testing with a driver that does **not** support sub-datasets first to see if the error message is informativeāperhaps if it is we don't actually need to...
Addresses #92 by wrapping the write function in `withCallingHandlers()` to capture the uninformative warning `[rast] skipped sub-datasets ...`. The warning originates from `terra::writeRaster()` when it is used to write a...
I think updating the GDAL driver supplied via `filetype` should invalidate a target the same way changing `format` for `tar_target()` does. ``` r targets::tar_dir({ targets::tar_script({ library(geotargets) list( tar_terra_rast( rast, terra::rast(system.file("ex/elev.tif",...
Getting a mysterious and difficult to reproduce error when `tar_terra_tiles()` is used with the `tile_blocksize()` helper and the raster target is not reading in from a file. Here's a reprex...
Using `tar_terra_sprc()` results in the warning `[rast] skipped sub-datasets (see 'describe(sds=TRUE)')`. I'm fairly certain this is because `terra::writeRaster()` returns a SpatRaster object (rather than a file path, which is what...
The latest release of `targets` gives us a [`substitute` argument](https://docs.ropensci.org/targets/reference/tar_format.html?q=tar_format#arg-substitute) to `tar_format()` (which looks a lot cleaner and simpler than using [tar_resources_custom_format()](https://docs.ropensci.org/targets/reference/tar_resources_custom_format.html) to pass things through to the write function...
Take a look at how `format = "auto"` is implemented in the recent `targets` release and see if it might be useful for `geotargets` in some way: https://github.com/ropensci/targets/issues/1311
At the bottom of the Day 0 page, the "next page" link goes to the mini reprohack page, not Day 1 like I would have expected. The previous page on...
The `cffr` R package has a function `cff_validate()` for validating .cff files.
## Description Still a WIP, but this PR aims to re-write the `gist_auth()` function to take advantage of `gitcreds::gitcreds_get()` which finds github PATs stored either in the `GITHUB_PAT` env var...