Skip to content

Static branching within static branching #348

Closed Answered by alexpghayes
alexpghayes asked this question in Help
Discussion options

You must be logged in to vote

So I eventually got the computation graph I wanted in

with some metaprogramming. See https://github.com/alexpghayes/citation-impute-simulations/blob/unholy/_targets.R. But then targets errored on me during the make process.

Error : Target loss_symmetric_svd_model1 tried to branch over svd_model1_symmetric_svd, which is illegal. Patterns must only branch over explicitly declared targets in the pipeline. Stems and patterns are fine, but you cannot branch over branches or global objects. Also, if you branch over a target with format = "file", then that target must also be a pattern.Error: callr subprocess failed: Target loss_symmetric_svd_model1 tried to branch over svd_model1_symmetric_sv…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@wlandau
Comment options

@alexpghayes
Comment options

@liutiming
Comment options

@liutiming
Comment options

@alexpghayes
Comment options

Answer selected by alexpghayes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants