Compare two sessionInfo objects, parsed by parse_si()

compare_si(si1, si2)

Arguments

si1

A list, corresponding to the first object, generated by parse_si()

si2

A list, corresponding to the second object, generated by parse_si()

Value

A data frame, with the packages, their versions, and the result of the comparison of their versions

Examples

si1_output <- system.file("extdata", "si1.txt", package = "sessionDiffo") si2_output <- system.file("extdata", "si2.txt", package = "sessionDiffo") si1 <- parse_si(si1_output)
#> [1] "yes"
si2 <- parse_si(si2_output)
#> [1] "yes"
comparison_df <- compare_si(si1, si2)