-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
featurea feature request or enhancementa feature request or enhancementtidy-dev-day 🤓Tidyverse Developer Day rstd.io/tidy-dev-dayTidyverse Developer Day rstd.io/tidy-dev-day
Description
workflows rewrites print methods for each of its stage for printing. We should revisit why this is the case, and either 1) document in a code comment why it is that we're rewriting those methods, or 2) re-implement the postprocessor printing in print.workflow()
Lines 473 to 479 in 9e6ca98
| # TODO: currently this function just captures and reprints the tailor | |
| # print method. other workflows methods define their own print methods; | |
| # considering doing so or refactoring. | |
| # TODO: this snap currently includes some NA return values and marks the | |
| # following output as a message rather than output. | |
| tailor_print <- utils::capture.output(tailor, type = "message") | |
| cat_line(tailor_print[3:length(tailor_print)]) |
Notably, the oddity with tailor printing's output currently is that, when in a trained workflow, both the workflow and its postprocessor stage have a tag marking themselves as "[trained]".
Metadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancementtidy-dev-day 🤓Tidyverse Developer Day rstd.io/tidy-dev-dayTidyverse Developer Day rstd.io/tidy-dev-day