Description Usage Details Value Examples
Creating tables used at the end of reports, for reproducibility. Most of the information is based off of sessioninfo::session_info()
1 |
Both tables usually printing with kable()
at the end of a report
list of length two, containing dataframe of Software Session Information and dataframe of Software Package Version Information
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | my_session_info <- get_session_info()
library(dplyr)
# Simple HTML Display
kableExtra::kable(my_session_info$platform_table, 'html',
caption = "Reproducibility Software Session Information") %>%
kableExtra::kable_styling()
kableExtra::kable(my_session_info$packages_table, 'html',
caption = "Reproducibility Software Package Version Information") %>%
kableExtra::kable_styling()
# Latex Display
kableExtra::kable(my_session_info$platform_table, 'latex', booktabs = TRUE,
linesep = '', caption = "Reproducibility Software Session Information") %>%
kableExtra::kable_styling(font_size = 7)
kableExtra::kable(my_session_info$packages_table, 'latex', booktabs = TRUE,
linesep = '', caption = "Reproducibility Software Package Version Information") %>%
kableExtra::kable_styling(font_size = 7)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.