-
-
Notifications
You must be signed in to change notification settings - Fork 15
POC Redesign of teal.reporter #862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…sengineering/teal.modules.general into report_redesign_poc@main
Signed-off-by: Marcin <[email protected]>
|
||
"If you don't want to include code for head(mtcars) in report - just don't include it.", | ||
|
||
"If you want the object to be kept in the report as loaded from .rds use keep_in_report()", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"If you want the object to be kept in the report as loaded from .rds use keep_in_report()", | |
"If you want the object to be kept in the rendered output (pdf, pptx, etc.) use keep_in_report()", |
For me high-level explaination is. If head(mtcars) |> keep_in_report(FALSE)
:
- it will be included in the Reporter object (because it is in the list of items provided to report_document)
- will be shown when previewing the results in the report_previewer (to avoid double evaluation of the code chunk)
- will be included in rendered in pdf, pptx, ... files directly to avoid double evaluation of the code chunk
- Will be excluded from saved .Rmd file content because .Rmd doesn't need to include a rendered output - output will be rendered when runnning .Rmd file
If keep_in_report(TRUE)
- then always included
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, your assumptions are right. I wonder if that's gonna be easy to grasp for the final user 🤔
Companion to
Covered modules
code