{"id":14069046,"url":"https://github.com/r-lib/sessioninfo","last_synced_at":"2025-04-14T23:29:08.469Z","repository":{"id":41380863,"uuid":"88972621","full_name":"r-lib/sessioninfo","owner":"r-lib","description":"Print Session Information","archived":false,"fork":false,"pushed_at":"2025-02-08T13:22:36.000Z","size":3442,"stargazers_count":76,"open_issues_count":10,"forks_count":25,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-07T16:15:04.653Z","etag":null,"topics":["r"],"latest_commit_sha":null,"homepage":"https://sessioninfo.r-lib.org","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/r-lib.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-21T10:27:47.000Z","updated_at":"2025-02-08T13:20:33.000Z","dependencies_parsed_at":"2022-08-10T02:07:02.839Z","dependency_job_id":"990a0357-7f98-47e0-994f-216d9a3004bf","html_url":"https://github.com/r-lib/sessioninfo","commit_stats":{"total_commits":184,"total_committers":15,"mean_commits":"12.266666666666667","dds":"0.26086956521739135","last_synced_commit":"dfb750df6675dfb43e1da916c106053b97f4e8ce"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-lib%2Fsessioninfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-lib%2Fsessioninfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-lib%2Fsessioninfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-lib%2Fsessioninfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r-lib","download_url":"https://codeload.github.com/r-lib/sessioninfo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248662272,"owners_count":21141544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["r"],"created_at":"2024-08-13T07:06:34.146Z","updated_at":"2025-04-14T23:29:08.446Z","avatar_url":"https://github.com/r-lib.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"\n# sessioninfo\n\n\u003e R Session Information\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: stable](https://lifecycle.r-lib.org/articles/figures/lifecycle-stable.svg)](https://lifecycle.r-lib.org/articles/stages.html)\n[![R-CMD-check](https://github.com/r-lib/sessioninfo/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/r-lib/sessioninfo/actions/workflows/R-CMD-check.yaml)\n[![](https://www.r-pkg.org/badges/version/sessioninfo)](https://www.r-pkg.org/pkg/sessioninfo)\n[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/sessioninfo)](https://www.r-pkg.org/pkg/sessioninfo)\n[![Codecov test coverage](https://codecov.io/gh/r-lib/sessioninfo/branch/main/graph/badge.svg)](https://app.codecov.io/gh/r-lib/sessioninfo?branch=main)\n\u003c!-- badges: end --\u003e\n\nQuery and print information about the current R session. It is similar to\n`utils::sessionInfo()`, but includes more information about packages, and\nwhere they were installed from.\n\n## Differences from `utils::sessionInfo()`\n\n* Additional platform details: time zone, pandoc version, RStudio version,\n  etc.\n* Information about package sources, e.g. GitHub repo and hash for packages\n  installed from GitHub.\n* Highlight package installation problems, e.g. if the loaded and on-disk\n  versions are different, if the MD5 checksum of the package DLL is wrong,\n  etc.\n* Highlight packages from unusual sources.\n* Information about external software via `external_info()`.\n* Information about the Python configuration if the reticulate package is\n  loaded and configured.\n* Information about package libraries.\n* Compare two session info outputs with the `session_diff()` function.\n* Option to show loaded (default), attached or installed packages, or\n  the recursive dependencies of the specified packages.\n\n## Installation\n\nInstall the released version from CRAN\n\n```r\ninstall.packages(\"sessioninfo\")\n```\n\nOr the development version from GitHub:\n\n```r\n# install.packages(\"pak\")\npak::pak(\"r-lib/sessioninfo\")\n```\n\n## Usage\n\nExample output:\n\n```r\nsessioninfo::session_info()\n```\n\n\u003cimg width=\"1000\" src=\"https://raw.githubusercontent.com/r-lib/sessioninfo/main/man/figures/session-info2.svg\" alt=\"Screenshot of a terminal window demonstrating example output of the sessioninfo function.\"\u003e\n\n### Copying to the clipboard\n\nYou can use the\n[`clipr` package](https://cran.r-project.org/package=clipr) to copy\nthe session info to the clipboard:\n\n```r\nclipr::write_clip(session_info())\n```\n\n(The current `clipr` version prints a warning, but you can ignore that.)\n\n### Writing to a file\n\nYou can use the `to_file` argument of `session_info()`:\n\n```r\nsession_info(to_file = \"session.log\")\n```\n\n### External software\n\n```r\nsessioninfo::session_info(info = \"external\")\n```\n\n```\n═ Session info ═══════════════════════════════════════════════════════════════\n─ External software ──────────────────────────────────────────────────────────\n setting        value\n cairo          1.14.12\n cairoFT        2.10.0/2.13.1\n pango\n png            1.6.37\n jpeg           9.4\n tiff           LIBTIFF, Version 4.1.0\n tcl            8.6.6\n curl           7.54.0\n zlib           1.2.11\n bzlib          1.0.6, 6-Sept-2010\n xz             5.2.4\n PCRE           10.34 2019-11-21\n ICU            62.1\n TRE            TRE 0.8.0 R_fixes (BSD)\n iconv          GNU libiconv 1.11\n readline       5.2\n BLAS           /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRblas.0.dylib\n lapack         /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib\n lapack_version 3.9.0\n\n──────────────────────────────────────────────────────────────────────────────\n```\n\n### Python configuration\n\n```r\nsessioninfo::session_info(info = \"python\")\n```\n\n```\n═ Session info ═══════════════════════════════════════════════════════════════\n─ Python configuration ───────────────────────────────────────────────────────\n python:         /Users/gaborcsardi/Library/r-miniconda/envs/r-reticulate/bin/python\n libpython:      /Users/gaborcsardi/Library/r-miniconda/envs/r-reticulate/lib/libpython3.6m.dylib\n pythonhome:     /Users/gaborcsardi/Library/r-miniconda/envs/r-reticulate:/Users/gaborcsardi/Library/r-miniconda/envs/r-reticulate\n version:        3.6.13 | packaged by conda-forge | (default, Sep 23 2021, 07:55:15)  [GCC Clang 11.1.0]\n numpy:          /Users/gaborcsardi/Library/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/numpy\n numpy_version:  1.19.5\n\n──────────────────────────────────────────────────────────────────────────────\n```\n\n### Comparing session information\n\n`session_diff()` can retrieve the session info from an URL or the clipboard\nand compare it to the current session information:\n\n```r\nsessioninfo::session_diff(new = \"https://github.com/r-lib/sessioninfo/issues/6\")\n```\n\n```diff\n--- local\n+++ https://github.com/r-lib/sessioninfo/issues/6\n  Session info ──────────────────────────────────────────────────────────────────\n  setting  value\n  version  R version 4.1.1 (2021-08-10)\n  os       macOS Mojave 10.14.6\n  system   x86_64, darwin17.0\n  ui       X11\n  language (EN)\n  collate  en_US.UTF-8\n  ctype    en_US.UTF-8\n  tz       Europe/Madrid\n  pandoc   2.7.3 @ /usr/local/bin/pandoc\n\n ─ Packages ─────────────────────────────────────────────────────────────────────\n  package     * version     date (UTC) lib source\n- asciicast     1.0.0.9000  2021-10-10 [1] local\n- cli           3.0.1.9000  2021-10-13 [1] local\n+ cachem        1.0.6       2021-08-19 [1] CRAN (R 4.1.0)\n+ callr         3.7.0.9000  2021-10-01 [1] Github (r-lib/callr@ea5c3df)\n+ cli           3.0.1.9000  2021-10-07 [1] Github (r-lib/cli@e9758aa)\n+ clipr         0.7.1       2020-10-08 [1] CRAN (R 4.1.0)\n+ commonmark    1.7         2018-12-01 [1] CRAN (R 4.1.0)\n  crayon        1.4.1       2021-02-08 [1] CRAN (R 4.1.0)\n- curl          4.3.2       2021-06-23 [1] CRAN (R 4.1.0)\n  desc          1.4.0.9000  2021-10-04 [1] local\n+ devtools      2.4.2       2021-06-07 [1] CRAN (R 4.1.0)\n+ digest        0.6.28      2021-09-23 [1] CRAN (R 4.1.0)\n  ellipsis      0.3.2       2021-04-29 [1] CRAN (R 4.1.0)\n  fansi         0.5.0       2021-05-25 [1] CRAN (R 4.1.0)\n+ fastmap       1.1.0       2021-01-25 [1] CRAN (R 4.1.0)\n+ fs            1.5.0       2020-07-31 [1] CRAN (R 4.1.0)\n  glue          1.4.2       2021-10-04 [1] local\n- jsonlite      1.7.2       2020-12-09 [1] CRAN (R 4.1.0)\n+ knitr         1.34        2021-09-09 [1] CRAN (R 4.1.0)\n  lifecycle     1.0.1       2021-09-24 [1] CRAN (R 4.1.0)\n  magrittr      2.0.1       2020-11-17 [1] CRAN (R 4.1.0)\n+ memoise       2.0.0       2021-01-26 [1] CRAN (R 4.1.0)\n  pillar        1.6.3       2021-09-26 [1] CRAN (R 4.1.1)\n+ pkgbuild      1.2.0       2020-12-15 [1] CRAN (R 4.1.0)\n  pkgconfig     2.0.3       2019-09-22 [1] CRAN (R 4.1.0)\n  pkgload       1.2.2       2021-09-11 [1] CRAN (R 4.1.0)\n  prettycode    1.1.0       2019-12-16 [1] CRAN (R 4.1.0)\n+ prettyunits   1.1.1       2020-01-24 [1] CRAN (R 4.1.0)\n  processx      3.5.2.9000  2021-09-15 [1] local\n  prompt        1.0.0       2021-03-02 [1] local\n  ps            1.6.0       2021-02-28 [1] CRAN (R 4.1.0)\n+ purrr         0.3.4       2020-04-17 [1] CRAN (R 4.1.0)\n  R6            2.5.1       2021-08-19 [1] CRAN (R 4.1.0)\n- Rcpp          1.0.7       2021-07-07 [1] CRAN (R 4.1.0)\n- rlang         0.4.11      2021-04-30 [1] CRAN (R 4.1.0)\n+ remotes       2.4.0       2021-06-02 [1] CRAN (R 4.1.0)\n+ rlang         0.99.0.9000 2021-10-07 [1] Github (r-lib/rlang@3ba19df)\n+ roxygen2      7.1.2       2021-10-04 [1] local\n  rprojroot     2.0.2       2020-11-15 [1] CRAN (R 4.1.0)\n- sessioninfo * 1.1.1.9000  2021-10-13 [?] load_all()\n- testthat    * 3.1.0       2021-10-04 [1] CRAN (R 4.1.0)\n- tibble        3.1.5       2021-09-30 [1] CRAN (R 4.1.0)\n+ rstudioapi    0.13        2020-11-12 [1] CRAN (R 4.1.0)\n+ sessioninfo * 1.1.1.9000  2021-10-05 [?] load_all()\n+ stringi       1.7.4       2021-08-25 [1] CRAN (R 4.1.0)\n+ stringr       1.4.0       2019-02-10 [1] CRAN (R 4.1.0)\n+ testthat    * 3.0.4       2021-07-01 [1] CRAN (R 4.1.0)\n+ tibble        3.1.4       2021-08-25 [1] CRAN (R 4.1.0)\n+ usethis       2.0.1       2021-02-10 [1] CRAN (R 4.1.0)\n  utf8          1.2.2       2021-07-24 [1] CRAN (R 4.1.0)\n- uuid          0.1-4       2020-02-26 [1] CRAN (R 4.1.0)\n- V8            3.4.2       2021-05-01 [1] CRAN (R 4.1.0)\n  vctrs         0.3.8       2021-04-29 [1] CRAN (R 4.1.0)\n  withr         2.4.2       2021-04-18 [1] CRAN (R 4.1.0)\n+ xfun          0.26        2021-09-14 [1] CRAN (R 4.1.0)\n+ xml2          1.3.2       2020-04-23 [1] CRAN (R 4.1.0)\n\n  [1] /Users/gaborcsardi/Library/R/x86_64/4.1/library\n  [2] /Library/Frameworks/R.framework/Versions/4.1/Resources/library\n```\n\n## Code of Conduct\n\nPlease note that the sessioninfo project is released with a\n[Contributor Code of Conduct](\n  https://sessioninfo.r-lib.org/dev/CODE_OF_CONDUCT.html). By contributing to\nthis project, you agree to abide by its terms.\n\n## License\n\nGPL-2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-lib%2Fsessioninfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr-lib%2Fsessioninfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-lib%2Fsessioninfo/lists"}