lekoenig / ds-pipelines-targets-2

https://lab.github.com/USGS-R/usgs-targets-tips-and-tricks
0 stars 0 forks source link

Use phases #11

Closed lekoenig closed 3 years ago

lekoenig commented 3 years ago

This PR references issue #10. I refactored the pipeline so that each phase has its own makefile (e.g. 1_fetch.R, 2_process.R) which are sourced by the main _targets.R makefile to build the pipeline. I also changed the names of the targets to reflect which phase each target belongs to. The build status is included below.

One question I had with distributing makefiles among the different phases was about R package dependencies. I initially got a warning that dplyr wasn't being found on the 1_fetch.R makefile and so included tar_option_set(packages) in the fetch phase makefile, but I'm also not sure this is necessary.

targets-II-build

github-learning-lab[bot] commented 3 years ago


When you are done poking around, check out the next issue.