Closed
Conversation
m7pr
commented
Feb 25, 2025
…sengineering/teal.modules.general into report_redesign_poc@main
m7pr
commented
Mar 3, 2025
gogonzo
reviewed
Mar 4, 2025
m7pr
commented
Mar 25, 2025
gogonzo
reviewed
Mar 27, 2025
gogonzo
reviewed
Mar 27, 2025
gogonzo
reviewed
Mar 28, 2025
Contributor
gogonzo
reviewed
Apr 24, 2025
|
|
||
| "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()", |
Contributor
There was a problem hiding this comment.
Suggested change
| "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
Contributor
Author
There was a problem hiding this comment.
Yes, your assumptions are right. I wonder if that's gonna be easy to grasp for the final user 🤔
5 tasks
This was referenced Apr 30, 2025
teal.reporter Cards
Contributor
|
@m7pr closing this one as it is not in use anymore 👍 Thanks |
Contributor
Author
|
ah, yes, thanks for the cleanup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Companion to
Covered modules
code