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.
::session_info()%>%
sessioninfo::details(
detailssummary = 'Current session info',
open = TRUE
)
─ Session info ───────────────────────────────────────────────────────────────
setting value 4.1.0 (2021-05-18)
version R version 10.16
os macOS Big Sur .0
system x86_64, darwin17
ui X11 language (EN)
collate C -8
ctype en_US.UTF/New_York
tz America2022-03-27
date
─ Packages ───────────────────────────────────────────────────────────────────* version date lib source
package 0.3.1 2021-10-06 [3] standard (@0.3.1)
bslib 3.2.0 2022-02-14 [3] standard (@3.2.0)
cli 0.7.1 2020-10-08 [3] standard (@0.7.1)
clipr 1.5.0 2022-02-14 [3] standard (@1.5.0)
crayon 1.4.1 2022-03-06 [3] standard (@1.4.1)
desc * 0.3.0 2022-03-27 [1] local
details 0.6.27 2020-10-24 [3] standard (@0.6.27)
digest 0.3.2 2021-04-29 [3] standard (@0.3.2)
ellipsis 0.14 2019-05-28 [3] standard (@0.14)
evaluate 0.5.0 2021-05-25 [3] standard (@0.5.0)
fansi 1.1.0 2021-01-25 [3] standard (@1.1.0)
fastmap 0.9 2021-04-16 [3] standard (@0.9)
highr 0.5.2 2021-08-25 [3] standard (@0.5.2)
htmltools 1.4.2 2020-07-20 [3] standard (@1.4.2)
httr 0.1.4 2021-04-26 [3] standard (@0.1.4)
jquerylib 1.7.2 2020-12-09 [3] standard (@1.7.2)
jsonlite 1.37 2021-12-16 [3] standard (@1.37)
knitr 1.0.0 2021-02-15 [3] standard (@1.0.0)
lifecycle 2.0.1 2020-11-17 [3] standard (@2.0.1)
magrittr 1.6.4 2021-10-18 [3] standard (@1.6.4)
pillar 2.0.3 2019-09-22 [3] standard (@2.0.3)
pkgconfig 0.1-7 2013-12-03 [3] standard (@0.1-7)
png 2.5.0 2020-10-28 [3] standard (@2.5.0)
R6 0.4.11 2021-04-30 [3] standard (@0.4.11)
rlang 2.13 2022-03-10 [3] standard (@2.13)
rmarkdown 2.0.2 2020-11-15 [3] standard (@2.0.2)
rprojroot 0.13 2020-11-12 [3] standard (@0.13)
rstudioapi 0.4.0 2021-05-12 [3] standard (@0.4.0)
sass 1.1.1 2018-11-05 [3] CRAN (R 4.1.0)
sessioninfo 1.7.6 2021-11-29 [3] standard (@1.7.6)
stringi 1.4.0 2019-02-10 [3] standard (@1.4.0)
stringr 3.1.6 2021-11-07 [3] standard (@3.1.6)
tibble 1.2.1 2021-03-12 [3] standard (@1.2.1)
utf8 0.3.8 2021-04-29 [3] standard (@0.3.8)
vctrs 2.5.0 2022-03-03 [3] standard (@2.5.0)
withr 0.30 2022-03-02 [3] standard (@0.30)
xfun 1.3.2 2020-04-23 [3] standard (@1.3.2)
xml2 2.3.5 2022-02-21 [3] standard (@2.3.5)
yaml
1] /private/var/folders/kx/t4h_mm1910sb7vhm_gnfnx2c0000gn/T/RtmpoMXkqb/Rinst99c1a4dbe10
[2] /private/var/folders/kx/t4h_mm1910sb7vhm_gnfnx2c0000gn/T/RtmpIz59Ob/temp_libpath8a3063ff4841
[3] /Users/yonis/Library/R/x86_64/4.1/library
[4] /Library/Frameworks/R.framework/Versions/4.1/Resources/library [