Closed Melkiades closed 1 year ago
The problem is code duplication. Viable solutions:
eval(parse(text=<>))
teal.gallery
scda.test
Note: teal.gallery gets the source code from the source files with https://github.com/insightsengineering/teal.gallery/blob/00547871a0a0131857dc6938ea153edad3df2c5c/R/utils.R#L27
This Draft PR just shows the wiz of it. The print is identical but the show-code which can be probably fixed
The problem is code duplication. Viable solutions:
eval(parse(text=<>))
. Then in Quarto here it is just printed out as it is done inteal.gallery
(https://insightsengineering.github.io/teal.gallery/main/articles/sources.html and https://github.com/insightsengineering/teal.gallery/blob/main/vignettes/sources.Rmd#L33).scda.test
structure but with "Book" generating features.Note:
teal.gallery
gets the source code from the source files with https://github.com/insightsengineering/teal.gallery/blob/00547871a0a0131857dc6938ea153edad3df2c5c/R/utils.R#L27This Draft PR just shows the wiz of it. The print is identical but the show-code which can be probably fixed