Skip to content

Tracking tar_map values object #326

Closed Answered by wlandau
kevin-m-kent asked this question in Help
Discussion options

You must be logged in to vote

In tar_map(), values exists prior to running (or even defining) the pipeline, which means it cannot be a target. But in dynamic branching, you can easily map over the rows of a tibble target as long as iteration = "vector" in tar_target() for the tibble (default).

Is it possible to track this tibble object as a target and only run the new branches or rows that have been altered from the tibble object?

When you add rows, new targets should automatically spawn and old ones should remain up to date, which is the desired behavior.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@kevin-m-kent
Comment options

@kevin-m-kent
Comment options

@wlandau
Comment options

@kevin-m-kent
Comment options

Answer selected by kevin-m-kent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants