Basics with sessionInfo

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(details)

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
  )


Try the details package in your browser

Any scripts or data that you put into this service are public.

details documentation built on March 28, 2022, 1:06 a.m.