summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>2023-03-25 00:18:48 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-10-04 11:03:23 +0200
commitf989150083a25b64cd848679f0ca7dca00b2a051 (patch)
treea2450c44dfd0d8a1d17a03b8c647b6625eec08c7 /gnu/packages
parent58a3333f58fdcc32be83b26348f856c31c8a5573 (diff)
downloadguix-f989150083a25b64cd848679f0ca7dca00b2a051.tar.gz
gnu: Add r-repmis.
* gnu/packages/cran.scm (r-repmis): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/cran.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 612524e2f7..cf279ab3d2 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3408,6 +3408,41 @@ convenience functions useful for using CSS selectors on XML nodes.  This
 package is a port of the Python package @code{cssselect}.")
     (license license:bsd-3)))
 
+(define-public r-repmis
+  (package
+    (name "r-repmis")
+    (version "0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "repmis" version))
+       (sha256
+        (base32 "0z5mjbsl24yjbl0aawr35grcal44rf2xbwv1hy7bdkms94ix79b5"))))
+    (properties `((upstream-name . "repmis")))
+    (build-system r-build-system)
+    (arguments
+     (list
+      #:phases
+      '(modify-phases %standard-phases
+         (add-before 'install 'change-home-dir
+           (lambda _
+             ;; Change from /homeless-shelter to /tmp for write permission.
+             (setenv "HOME" "/tmp"))))))
+    (propagated-inputs
+     (list r-data-table
+           r-digest
+           r-httr
+           r-plyr
+           r-r-cache))
+    (home-page "https://cran.r-project.org/package=repmis")
+    (synopsis "Miscellaneous tools for reproducible research")
+    (description
+     "This package is a colletion of tools to load R packages and
+automatically generate BibTeX files citing them as well as load and cache
+plain-text and Excel formatted data stored on GitHub, and from other
+sources.")
+    (license license:gpl3+)))
+
 (define-public r-reprex
   (package
     (name "r-reprex")