-
Help
DescriptionHi, I am integrating a lot of ETL workflows under one targets repository, where each workflow has their own folder with the _targets.R file, etc. One issue I am having is that some code I use (set up as a git submodle from another repository maintained by someone else) need to set the working directory to their particular folder and uses relative folder path in their code, while the targets workflow needs to be triggered from a parent folder which has some other code in additional to the code in this submodule. I tried using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Perhaps |
Beta Was this translation helpful? Give feedback.
Perhaps
withr::with_dir()
could be of use?https://withr.r-lib.org/reference/with_dir.html