Get each field of default resources from tar_option_get("resources")
separately
#892
Closed
2 of 5 tasks
Labels
Prework
targets::tar_reprex()
andreprex::reprex()
. A reproducible example is:Description
At the time of writing, target resources need to be supplied wholesale. That is, if you set
tar_option_set(resources = tar_resources(aws = tar_resources_aws(bucket = a, endpoint = b), feather = c))
and thentar_target(x, .., resources = tar_resources(aws = tar_resources_aws(bucket = d))
, thefeather
resource of targetx
will not beb
and the AWS endpoint of targetx
will not beb
. I have not heard any reports of confusion from this, but it could easily create confusion. The defaults of alltar_resources()
functions should come fromtar_option_set("resources")
The text was updated successfully, but these errors were encountered: