knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(sessionDiffo)
Ever encountered a situation where the configuration of two systems is different?
Examples:
a newer package introduced changes in the functionality, and you have different setups on different machines. You might want to pinpoint what is different
debugging/reporting an issue: you encounter a bug, or someone reports it to you, and you want to compare the full set of packages that are available in the two different setups
si1_output <- system.file("extdata", "si1.txt", package = "sessionDiffo") si2_output <- system.file("extdata", "si2.txt", package = "sessionDiffo") si1 <- parse_si(si1_output) si2 <- parse_si(si2_output) comparison_df <- compare_si(si1, si2) knitr::kable(comparison_df)
ssd
... standing for ShinySessionDiffo
if(interactive()) ssd()
Ok, this time it is only one. So here there is no need of sessionDiffo
sessionInfo()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.