An Rmd child template that produces a collapsed session info box
Source:R/child_session_info.R
child_session_info.Rd
When called in an Rmd document this function generates child document containing an expandable session info box.
Usage
child_session_info(pkgs = c("loaded", "attached", "installed")[1])
Arguments
- pkgs
Which packages to show. It may be:
NULL
or"loaded"
: show all loaded packages,"attached"
: show all attached packages,"installed"
: show all installed packages,a character vector of package names. Their (hard) dependencies are also shown by default, see the
dependencies
argument.