Skip to content

Possible bug: tar_age() does not work in tar_map() #146

Closed Answered by wlandau
psychelzh asked this question in Help
Discussion options

You must be logged in to vote

tar_age() uses tar_cue_age_raw() to create the cue, and this cue is specific to the original target object with the original name before mapping occurs. tar_map() does not update cues, so tar_eval() would be a better fit for this case: https://books.ropensci.org/targets/static.html#metaprogramming

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@psychelzh
Comment options

@psychelzh
Comment options

@wlandau
Comment options

Answer selected by psychelzh
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