Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way to compare session info from two systems #6

Closed
2 tasks
gaborcsardi opened this issue Aug 7, 2017 · 4 comments · Fixed by #45
Closed
2 tasks

Provide a way to compare session info from two systems #6

gaborcsardi opened this issue Aug 7, 2017 · 4 comments · Fixed by #45
Labels
feature a feature request or enhancement

Comments

@gaborcsardi
Copy link
Member

  • copy one session info output on the clipboard, and compare that to the current system
  • just compare two outputs?
@gaborcsardi
Copy link
Member Author

It would be much easier to compare the actual objects.... especially with the potentially rich formatting....

@gaborcsardi
Copy link
Member Author

Maybe we could use a visual fingerprint.

@gaborcsardi
Copy link
Member Author

gaborcsardi commented Oct 7, 2021

Testing how a copy-paste (w/o reprex) looks like in GH HTML.

─ Session info  🤳🏾  😻  ⚒️   ────────────────────────────────────────────────────────────────────────────
 setting  value
 version  R version 4.1.1 (2021-08-10)
 os       macOS Mojave 10.14.6
 system   x86_64, darwin17.0
 ui       X11
 language (EN)
 collate  en_US.UTF-8
 ctype    en_US.UTF-8
 tz       Europe/Madrid
 date     2021-10-07
 pandoc   2.7.3 @ /usr/local/bin/pandoc

─ Packages ─────────────────────────────────────────────────────────────────────────────────────────────
 package     * version     date (UTC) lib source
 cachem        1.0.6       2021-08-19 [1] CRAN (R 4.1.0)
 callr         3.7.0.9000  2021-10-01 [1] Github (r-lib/callr@ea5c3df)
 cli           3.0.1.9000  2021-10-07 [1] Github (r-lib/cli@e9758aa)
 clipr         0.7.1       2020-10-08 [1] CRAN (R 4.1.0)
 commonmark    1.7         2018-12-01 [1] CRAN (R 4.1.0)
 crayon        1.4.1       2021-02-08 [1] CRAN (R 4.1.0)
 desc          1.4.0.9000  2021-10-04 [1] local
 devtools      2.4.2       2021-06-07 [1] CRAN (R 4.1.0)
 digest        0.6.28      2021-09-23 [1] CRAN (R 4.1.0)
 ellipsis      0.3.2       2021-04-29 [1] CRAN (R 4.1.0)
 fansi         0.5.0       2021-05-25 [1] CRAN (R 4.1.0)
 fastmap       1.1.0       2021-01-25 [1] CRAN (R 4.1.0)
 fs            1.5.0       2020-07-31 [1] CRAN (R 4.1.0)
 glue          1.4.2       2021-10-04 [1] local
 knitr         1.34        2021-09-09 [1] CRAN (R 4.1.0)
 lifecycle     1.0.1       2021-09-24 [1] CRAN (R 4.1.0)
 magrittr      2.0.1       2020-11-17 [1] CRAN (R 4.1.0)
 memoise       2.0.0       2021-01-26 [1] CRAN (R 4.1.0)
 pillar        1.6.3       2021-09-26 [1] CRAN (R 4.1.1)
 pkgbuild      1.2.0       2020-12-15 [1] CRAN (R 4.1.0)
 pkgconfig     2.0.3       2019-09-22 [1] CRAN (R 4.1.0)
 pkgload       1.2.2       2021-09-11 [1] CRAN (R 4.1.0)
 prettycode    1.1.0       2019-12-16 [1] CRAN (R 4.1.0)
 prettyunits   1.1.1       2020-01-24 [1] CRAN (R 4.1.0)
 processx      3.5.2.9000  2021-09-15 [1] local
 prompt        1.0.0       2021-03-02 [1] local
 ps            1.6.0       2021-02-28 [1] CRAN (R 4.1.0)
 purrr         0.3.4       2020-04-17 [1] CRAN (R 4.1.0)
 R6            2.5.1       2021-08-19 [1] CRAN (R 4.1.0)
 remotes       2.4.0       2021-06-02 [1] CRAN (R 4.1.0)
 rlang         0.99.0.9000 2021-10-07 [1] Github (r-lib/rlang@3ba19df)
 roxygen2      7.1.2       2021-10-04 [1] local
 rprojroot     2.0.2       2020-11-15 [1] CRAN (R 4.1.0)
 rstudioapi    0.13        2020-11-12 [1] CRAN (R 4.1.0)
 sessioninfo * 1.1.1.9000  2021-10-05 [?] load_all()
 stringi       1.7.4       2021-08-25 [1] CRAN (R 4.1.0)
 stringr       1.4.0       2019-02-10 [1] CRAN (R 4.1.0)
 testthat    * 3.0.4       2021-07-01 [1] CRAN (R 4.1.0)
 tibble        3.1.4       2021-08-25 [1] CRAN (R 4.1.0)
 usethis       2.0.1       2021-02-10 [1] CRAN (R 4.1.0)
 utf8          1.2.2       2021-07-24 [1] CRAN (R 4.1.0)
 vctrs         0.3.8       2021-04-29 [1] CRAN (R 4.1.0)
 withr         2.4.2       2021-04-18 [1] CRAN (R 4.1.0)
 xfun          0.26        2021-09-14 [1] CRAN (R 4.1.0)
 xml2          1.3.2       2020-04-23 [1] CRAN (R 4.1.0)

 [1] /Users/gaborcsardi/Library/R/x86_64/4.1/library
 [2] /Library/Frameworks/R.framework/Versions/4.1/Resources/library

────────────────────────────────────────────────────────────────────────────────────────────────────────
Session info  🤳🏾  😻  ⚒️   ────────────────────────────────────────────────────────────────────────────
 setting  value
 version  R version 4.1.1 (2021-08-10)
 os       macOS Mojave 10.14.6
 system   x86_64, darwin17.0
 ui       X11
 language (EN)
 collate  en_US.UTF-8
 ctype    en_US.UTF-8
 tz       Europe/Madrid
 date     2021-10-07
 pandoc   2.7.3 @ /usr/local/bin/pandocPackages ─────────────────────────────────────────────────────────────────────────────────────────────
 package     * version     date (UTC) lib source
 cachem        1.0.6       2021-08-19 [1] CRAN (R 4.1.0)
 callr         3.7.0.9000  2021-10-01 [1] Github (r-lib/callr@ea5c3df)
 cli           3.0.1.9000  2021-10-07 [1] Github (r-lib/cli@e9758aa)
 clipr         0.7.1       2020-10-08 [1] CRAN (R 4.1.0)
 commonmark    1.7         2018-12-01 [1] CRAN (R 4.1.0)
 crayon        1.4.1       2021-02-08 [1] CRAN (R 4.1.0)
 desc          1.4.0.9000  2021-10-04 [1] local
 roxygen2      7.1.2       2021-10-04 [1] local
 rprojroot     2.0.2       2020-11-15 [1] CRAN (R 4.1.0)
 rstudioapi    0.13        2020-11-12 [1] CRAN (R 4.1.0)
 sessioninfo * 1.1.1.9000  2021-10-05 [?] load_all()
 stringi       1.7.4       2021-08-25 [1] CRAN (R 4.1.0)
 stringr       1.4.0       2019-02-10 [1] CRAN (R 4.1.0)
 testthat    * 3.0.4       2021-07-01 [1] CRAN (R 4.1.0)
 tibble        3.1.4       2021-08-25 [1] CRAN (R 4.1.0)
 usethis       2.0.1       2021-02-10 [1] CRAN (R 4.1.0)
 utf8          1.2.2       2021-07-24 [1] CRAN (R 4.1.0)
 vctrs         0.3.8       2021-04-29 [1] CRAN (R 4.1.0)
 withr         2.4.2       2021-04-18 [1] CRAN (R 4.1.0)
 xfun          0.26        2021-09-14 [1] CRAN (R 4.1.0)
 xml2          1.3.2       2020-04-23 [1] CRAN (R 4.1.0)

 [1] /Users/gaborcsardi/Library/R/x86_64/4.1/library
 [2] /Library/Frameworks/R.framework/Versions/4.1/Resources/library

────────────────────────────────────────────────────────────────────────────────────────────────────────

@gaborcsardi
Copy link
Member Author

Another example for testing, by reprex.

Some initial text

library(tibble)
library(readr)
library(dplyr)
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union
library(scales)
#> 
#> Attaching package: 'scales'
#> The following object is masked from 'package:readr':
#> 
#>     col_factor

Created on 2021-03-06 by the reprex package (v1.0.0)

Session info
sessioninfo::session_info()
#> - Session info ---------------------------------------------------------------
#>  setting  value                       
#>  version  R version 4.0.4 (2021-02-15)
#>  os       Windows 10 x64              
#>  system   x86_64, mingw32             
#>  ui       RTerm                       
#>  language (EN)                        
#>  collate  English_United States.1252  
#>  ctype    English_United States.1252  
#>  tz       America/Denver              
#>  date     2021-03-06                  
#> 
#> - Packages -------------------------------------------------------------------
#>  package     * version date       lib source           
#>  assertthat    0.2.1   2019-03-21 [1] CRAN (R 4.0.3)   
#>  cli           2.3.0   2021-01-31 [1] CRAN (R 4.0.3)   
#>  colorspace    2.0-0   2020-11-11 [1] CRAN (R 4.0.3)   
#>  crayon        1.4.1   2021-02-08 [1] CRAN (R 4.0.4)   
#>  DBI           1.1.1   2021-01-15 [1] CRAN (R 4.0.3)   
#>  digest        0.6.27  2020-10-24 [1] CRAN (R 4.0.3)   
#>  dplyr       * 1.0.5   2021-03-05 [1] standard (@1.0.5)
#>  ellipsis      0.3.1   2020-05-15 [1] CRAN (R 4.0.3)   
#>  evaluate      0.14    2019-05-28 [1] CRAN (R 4.0.3)   
#>  fs            1.5.0   2020-07-31 [1] CRAN (R 4.0.3)   
#>  generics      0.1.0   2020-10-31 [1] CRAN (R 4.0.3)   
#>  glue          1.4.2   2020-08-27 [1] CRAN (R 4.0.3)   
#>  highr         0.8     2019-03-20 [1] CRAN (R 4.0.3)   
#>  hms           1.0.0   2021-01-13 [1] CRAN (R 4.0.3)   
#>  htmltools     0.5.1.1 2021-01-22 [1] CRAN (R 4.0.3)   
#>  knitr         1.31    2021-01-27 [1] CRAN (R 4.0.3)   
#>  lifecycle     1.0.0   2021-02-15 [1] CRAN (R 4.0.4)   
#>  magrittr      2.0.1   2020-11-17 [1] CRAN (R 4.0.3)   
#>  munsell       0.5.0   2018-06-12 [1] CRAN (R 4.0.3)   
#>  pillar        1.4.7   2020-11-20 [1] CRAN (R 4.0.3)   
#>  pkgconfig     2.0.3   2019-09-22 [1] CRAN (R 4.0.3)   
#>  ps            1.5.0   2020-12-05 [1] CRAN (R 4.0.3)   
#>  purrr         0.3.4   2020-04-17 [1] CRAN (R 4.0.3)   
#>  R6            2.5.0   2020-10-28 [1] CRAN (R 4.0.3)   
#>  readr       * 1.4.0   2020-10-05 [1] CRAN (R 4.0.3)   
#>  reprex        1.0.0   2021-01-27 [1] CRAN (R 4.0.3)   
#>  rlang         0.4.10  2020-12-30 [1] CRAN (R 4.0.3)   
#>  rmarkdown     2.6     2020-12-14 [1] CRAN (R 4.0.3)   
#>  rstudioapi    0.13    2020-11-12 [1] CRAN (R 4.0.3)   
#>  scales      * 1.1.1   2020-05-11 [1] CRAN (R 4.0.3)   
#>  sessioninfo   1.1.1   2018-11-05 [1] CRAN (R 4.0.3)   
#>  stringi       1.5.3   2020-09-09 [1] CRAN (R 4.0.3)   
#>  stringr       1.4.0   2019-02-10 [1] CRAN (R 4.0.3)   
#>  tibble      * 3.0.6   2021-01-29 [1] CRAN (R 4.0.3)   
#>  tidyselect    1.1.0   2020-05-11 [1] CRAN (R 4.0.3)   
#>  vctrs         0.3.6   2020-12-17 [1] CRAN (R 4.0.3)   
#>  withr         2.4.1   2021-01-26 [1] CRAN (R 4.0.3)   
#>  xfun          0.20    2021-01-06 [1] CRAN (R 4.0.3)   
#>  yaml          2.2.1   2020-02-01 [1] CRAN (R 4.0.3)   
#> 
#> [1] C:/Users/ayip/Documents/R/R-4.0.4/library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant