Replies: 1 comment 11 replies
-
The following seems to work if one wants to watch for dependency and text based changes: tar_target(report_01,
command = {
!!tar_knitr_deps_expr("analysis/rep-01.Rmd")
suppressMessages(workflowr::wflow_build("analysis/rep-01.Rmd", verbose = FALSE))
"analysis/rep-01.Rmd"
},
format = "file"
), |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Related #23 workflowr/workflowr#238
I was reading the issues related to {workflowr} + {targets} and currently using the following approach
However, this approach does not watch for text-based changes in
rep-01.Rmd
as it only watches variables (which are extracted viatar_knitr_deps_expr
).IIRC in {drake}
knitr_in()
was able to also watch for text-based changes in Rmds. Is this somehow possible in {targets}?Beta Was this translation helpful? Give feedback.
All reactions