How?

library(sessionDiffo)

Why?

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

What

From the command line

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)

knitr::kable(comparison_df)
package version_si1 version_si2 comparison
AnnotationDbi 1.48.0 1.48.0 equal
bigmemory 4.5.33 4.5.33 equal
Biobase 2.46.0 2.46.0 equal
BiocGenerics 0.32.0 0.32.0 equal
BiocParallel 1.20.0 1.20.0 equal
clusterProfiler 3.14.0 3.14.0 equal
covr 3.3.2 3.3.2 equal
DelayedArray 0.12.0 0.12.0 equal
DESeq2 1.26.0 1.26.0 equal
GeneTonic 0.6.0 0.7.0 older
GenomeInfoDb 1.22.0 1.22.0 equal
GenomicFeatures 1.38.0 1.38.0 equal
GenomicRanges 1.38.0 1.38.0 equal
GO.db 3.10.0 3.10.0 equal
graph 1.64.0 1.64.0 equal
IRanges 2.20.0 2.20.0 equal
knitr 1.26 1.26 equal
macrophage 1.2.0 1.2.0 equal
magrittr 1.5 1.5 equal
matrixStats 0.55.0 0.55.0 equal
org.Hs.eg.db 3.10.0 3.10.0 equal
rmarkdown 1.17 1.17 equal
S4Vectors 0.24.0 0.24.0 equal
shiny 1.4.0 1.3.2 newer
SparseM 1.77 1.77 equal
SummarizedExperiment 1.16.0 1.16.0 equal
testthat 2.3.0 2.3.0 equal
THEBADONE NA 6.6.6 Only in 2
topGO 2.37.0 2.37.0 equal
tximeta 1.4.2 1.4.2 equal

With ssd

… standing for ShinySessionDiffo

Session info

Ok, this time it is only one. So here there is no need of sessionDiffo

sessionInfo()
#> R version 4.0.0 (2020-04-24)
#> Platform: x86_64-pc-linux-gnu (64-bit)
#> Running under: Ubuntu 16.04.6 LTS
#> 
#> Matrix products: default
#> BLAS:   /home/travis/R-bin/lib/R/lib/libRblas.so
#> LAPACK: /home/travis/R-bin/lib/R/lib/libRlapack.so
#> 
#> locale:
#>  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
#>  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
#>  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
#>  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
#>  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
#> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> other attached packages:
#> [1] sessionDiffo_0.0.2
#> 
#> loaded via a namespace (and not attached):
#>  [1] zip_2.0.4         Rcpp_1.0.4.6      highr_0.8         later_1.0.0      
#>  [5] cellranger_1.1.0  compiler_4.0.0    pillar_1.4.4      forcats_0.5.0    
#>  [9] tools_4.0.0       digest_0.6.25     jsonlite_1.6.1    shinyAce_0.4.1   
#> [13] evaluate_0.14     memoise_1.1.0     tibble_3.0.1      lifecycle_0.2.0  
#> [17] pkgconfig_2.0.3   rlang_0.4.6       openxlsx_4.1.5    shiny_1.4.0.2    
#> [21] curl_4.3          yaml_2.2.1        haven_2.2.0       pkgdown_1.5.1    
#> [25] xfun_0.13         rio_0.5.16        fastmap_1.0.1     stringr_1.4.0    
#> [29] knitr_1.28        desc_1.2.0        fs_1.4.1          htmlwidgets_1.5.1
#> [33] vctrs_0.2.4       hms_0.5.3         rprojroot_1.3-2   DT_0.13          
#> [37] data.table_1.12.8 R6_2.4.1          readxl_1.3.1      foreign_0.8-78   
#> [41] rmarkdown_2.1     carData_3.0-3     car_3.0-7         magrittr_1.5     
#> [45] promises_1.1.0    backports_1.1.6   htmltools_0.4.0   ellipsis_0.3.0   
#> [49] MASS_7.3-51.5     abind_1.4-5       assertthat_0.2.1  xtable_1.8-4     
#> [53] mime_0.9          httpuv_1.5.2      stringi_1.4.6     crayon_1.3.4