summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm43
1 files changed, 42 insertions, 1 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 7a17f995db..d6621c4edc 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -15068,6 +15068,38 @@ or hash tables and to generate integer partitions.  Cool-lex order is similar
 to colexicographical order.")
     (license license:gpl2)))
 
+(define-public r-multidplyr
+  (package
+    (name "r-multidplyr")
+    (version "0.1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "multidplyr" version))
+              (sha256
+               (base32
+                "081x9n46dl6vpp5q6pilw3w5wpdi3r9kwi9n6h4k2p2iqg1s96lb"))))
+    (properties `((upstream-name . "multidplyr")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-callr
+           r-cli
+           r-crayon
+           r-dplyr
+           r-magrittr
+           r-qs
+           r-r6
+           r-rlang
+           r-tibble
+           r-tidyselect
+           r-vctrs))
+    (native-inputs (list r-knitr))
+    (home-page "https://multidplyr.tidyverse.org")
+    (synopsis "Multi-process dplyr backend")
+    (description
+     "Partition a data frame across multiple worker processes to provide
+simple multicore parallelism.")
+    (license license:expat)))
+
 (define-public r-misc3d
   (package
     (name "r-misc3d")
@@ -34502,7 +34534,16 @@ package.")
          "0cx5k0mzn6bm8ff58yrqz3hjidxcawxgqbpijnynvin1m4395i4j"))))
     (properties `((upstream-name . "qs")))
     (build-system r-build-system)
-    (inputs (list zlib))
+    (arguments
+     (list
+      #:phases
+      '(modify-phases %standard-phases
+         ;; Our zstd is at 1.5.0, but this package bundles 1.5.2.
+         (add-after 'unpack 'use-older-zstd
+           (lambda _
+             (substitute* "configure"
+               (("100502") "100500")))))))
+    (inputs (list lz4 zlib (list zstd "lib")))
     (propagated-inputs
      (list r-rapiserialize r-rcpp r-stringfish))
     (native-inputs