-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overwrite pipeline at every execute_pipeline
call
#51
Comments
Would using |
Nom, to overwrite the pipeline (not the targets) ()the pipeline is a R file, you do tar_script(ask=FALSE), which you already doing. So if you remove the debug , the pipeline should not consider it anymore. you can actually verify it, by opening manually your script = glue("{store}.R") after doing debug (you should see the debug call) and after not using debug that debug call must disappear from the file, automatically |
so the idea of this issue is to overwrite the script.R every time running the pipeline right? In your example @stemangiola , if removing a parameter e.g debug_step entirely in a second run , it should not exist in script.R |
correct. The script glue("{store}.R") should be updated to reflect that we switch on and off the debug but this should already be happening! according to the code in github |
@susansjy22 for the reasons we have discussed at the meeting let's overwrite the pipeline scraped every time we call the function so the bugging option can work properly.
We do not need to touch the store, just the R target script
The text was updated successfully, but these errors were encountered: