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.
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.