You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario: you execute a Strategus analysis specification (with several modules) and find there is a problem with a module that causes it to fail. Ideally, we'd like to update the module reference and pass the same analysisSpecifications to the execute function with restart = TRUE and have the targets script only run the updated targets.
Currently, when Strategus' execute function is invoked, we write out the analysisSpecifications parameter to the file system as shown here:
The challenge here (I believe) is that in the internal targets folder where targets tracks dependencies, the analysisSpecifications object it manages internally remains unchanged and so targets continues to use the older specification in place of the newer one. It may be possible to restructure the way in which we create the targets so that we have an analysisSpecifications per module such that if a module's specification is updated, targets can restart and only run updated targets.
The text was updated successfully, but these errors were encountered:
Scenario: you execute a Strategus analysis specification (with several modules) and find there is a problem with a module that causes it to fail. Ideally, we'd like to update the module reference and pass the same
analysisSpecifications
to theexecute
function withrestart = TRUE
and have the targets script only run the updated targets.Currently, when Strategus'
execute
function is invoked, we write out theanalysisSpecifications
parameter to the file system as shown here:Strategus/R/Execution.R
Lines 92 to 102 in a12dee1
The challenge here (I believe) is that in the internal
targets
folder where targets tracks dependencies, theanalysisSpecifications
object it manages internally remains unchanged and so targets continues to use the older specification in place of the newer one. It may be possible to restructure the way in which we create the targets so that we have an analysisSpecifications per module such that if a module's specification is updated, targets can restart and only run updated targets.The text was updated successfully, but these errors were encountered: