Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User input resources not being passed from tar_terra_*() to tar_target_raw() #66

Closed
Aariq opened this issue May 9, 2024 · 0 comments · Fixed by #67
Closed

User input resources not being passed from tar_terra_*() to tar_target_raw() #66

Aariq opened this issue May 9, 2024 · 0 comments · Fixed by #67
Assignees
Labels
bug Something isn't working

Comments

@Aariq
Copy link
Collaborator

Aariq commented May 9, 2024

I'm trying to follow the targets manual section about heterogeneous workers (https://books.ropensci.org/targets/crew.html#heterogeneous-workers) and can't get a tar_terra_rast() target to override the default crew controller set in tar_option_set(). It works with a normal tar_target() however. I suspect this is because the resources argument to tar_terra_rast() is not passed to targets::tar_target_raw(), rather it is overwritten with targets::tar_resources(custom_format = targets::tar_resources_custom_format(.... Need to find a way to append resources input by users.

@Aariq Aariq added the bug Something isn't working label May 9, 2024
@Aariq Aariq changed the title tar_resources_crew() not being handled by tar_terra_rast() correctly? User input resources not being passed from tar_terra_*() to tar_target_raw() May 9, 2024
@Aariq Aariq self-assigned this May 9, 2024
@Aariq Aariq linked a pull request May 9, 2024 that will close this issue
@Aariq Aariq closed this as completed in #67 May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant