knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
One the most basic and popular uses for
details is to paste the sessioninfo at the bottom of a GitHub issue.
Pro tip: When using details in knitr/rmarkdown documents there is no need to set the knitr chunk options to results='asis', there are already predefined print methods for these environments.
sessioninfo::session_info()%>% details::details( summary = 'Current session info', open = TRUE )
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.