-
Notifications
You must be signed in to change notification settings - Fork 22
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
Make functionality modular #38
Comments
Hi, Can you provide an example of what you want to achieve ? The better is a small reproductible example to understand the undesired behavior you are observing. It is wild guess but knitr as a Hope it helps. |
I don't think it is possible to create a reprex with chunks, so I'll improvise. If I make an R Markdown file with the following chunks
I get the help text in my output, but the tibble is printed with Now if I comment out What I want is a mixture: I want the help output, but I want So in summary:
|
Thanks a lot ! This is a very helpful reprex. I understand now what you mean by modular. I get why it could be interesting to not have all the methods loaded but I am not sure how it could be done. This will need thinking. As a workaround, for your specific case, you could deactivate the pretty printing for a chunk, and thus for a chunk with you tibble. You can use the
Is this what you seek for your specific case ? More infos on pretty print in knitr: https://cran.rstudio.org/web/packages/knitr/vignettes/knit_print.html |
Sorry for the late reply, but yes, exactly what I want ;) |
Thanks for this nice package. I am a teacher mainly interested in including sections of help pages in my xaringan presentations so that I can explain functions to students. However, I still want my tibbles printed in the regular way. Could you make the functionality modular so that we can choose what gets pretty-printed?
The text was updated successfully, but these errors were encountered: