summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-10-28 19:21:45 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-10-30 21:33:47 +0100
commit993426244e19738d435a3c37a38ca60e92b45cf2 (patch)
tree2a48bf9d25d300f9aaeaef73964f9568286afdd1
parentefefd3ec42be0125f71066995b94ab8c6a26cde4 (diff)
downloadguix-993426244e19738d435a3c37a38ca60e92b45cf2.tar.gz
gnu: Add r-sessioninfo.
* gnu/packages/cran.scm (r-sessioninfo): New variable.
-rw-r--r--gnu/packages/cran.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 00aa963473..8b12dd0214 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6814,3 +6814,26 @@ that are otherwise performed manually.  This includes setting up unit testing,
 test coverage, continuous integration, Git, GitHub integration, licenses,
 Rcpp, RStudio projects, and more.")
     (license license:gpl3)))
+
+(define-public r-sessioninfo
+  (package
+    (name "r-sessioninfo")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "sessioninfo" version))
+       (sha256
+        (base32
+         "01c0m8yzadpwd825hky6as0f8ka4xyz7zfy0ih2iy7qqw11w6qn5"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-cli" ,r-cli)
+       ("r-withr" ,r-withr)))
+    (home-page "https://github.com/r-lib/sessioninfo#readme")
+    (synopsis "R session information")
+    (description
+     "This package provides tools to query and print information about the
+current R session.  It is similar to @code{utils::sessionInfo()}, but includes
+more information about packages, and where they were installed from.")
+    (license license:gpl2)))