Skip to content

[help] Combining non-interactive and interactive workflow #1203

Closed Answered by wlandau
mdmanurung asked this question in Help
Discussion options

You must be logged in to vote

I tried the target markdown but it seems that it serves as a literate alternative for writing _targets.R file but not as a complement?

Yes, target markdown is just an interface to write _targets.R.

With the exception of some forms of debugging, interactive tasks are best done outside the pipeline. You can access output with tar_read() or tar_load(), then run interactive code to do ad hoc testing, either in your interactive R session or a literate programming report that you keep separate from the pipeline. If you find yourself needing to manually interact with a running target, it may be time to choose an alternative approach to organizing that part of your project.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mdmanurung
Comment options

Answer selected by mdmanurung
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants