Closed tarensanders closed 1 year ago
I think I've moved all the relevant bits from #85 over, but let me know if I missed anything.
The static branching uses the models_df
tibble that's defined in the _targets.R
file. We could move this to a different file. I do like how explicit it makes the definition of the models.
Also, it might be worth running tar_destroy()
and starting from scratch on your next run. I spent ages trying to work out why some sections of the multiverse weren't getting updated, and it was because tar_load(target_thats_been_renamed)
works. You probably want to get rid of any old targets.
I don't know about you, but the data imputation step is now much quicker with that fix for my computer. I'm getting that target done in 3 mins now which is a relief. These are great changes, although I can feel your pain, this was a ton of work!
I agree the tribble makes it much more obvious what's happening with the target generation. I have a preference for it being in another file as it's kind of chunky, but it doesn't really matter. Check out the measurement day comment above but otherwise this is ready to merge from my perspective.
I don't know about you, but the data imputation step is now much quicker with that fix for my computer. I'm getting that target done in 3 mins now which is a relief.
Yeah, I messed up and each core was doing three imps which was why there was nine in total. Fixing that cuts 2/3rds of the time out haha.
Remaining few jobs: