Replies: 1 comment
-
I just discovered ´targetopia´ and with it ´geotargets´, so I close this discussion |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Help
Description
Hello. I was trying to create a pipeline where some of the steps create a raster file with the terra package. Here I provide my reprex:
_targets.R
R/workflow.R
When I run
tar_make()
it fails when it gets to the final stepprocess_soil
with the error:The problem arises because
SpatRaster
files cannot be exported asrds
or other format that I see available intar_target
.I found this post from the
terra
package where they give a workaround but they do not recommend the use of this functions but rather usewriteRaster
.Is there any existing alternative for raster data?
Beta Was this translation helpful? Give feedback.
All reactions