summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-01-01 12:57:59 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-01-01 13:33:02 +0100
commitbe9d0ab2a5300768f2bf8f1ac21110de0a152de2 (patch)
tree71da017af8994db73c495f5c4c0d2baee92c538a /gnu/packages/cran.scm
parent69442bd03136d90e9f80473b033cbc8b934f1794 (diff)
downloadguix-be9d0ab2a5300768f2bf8f1ac21110de0a152de2.tar.gz
gnu: Add r-flock.
* gnu/packages/cran.scm (r-flock): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 64804e4f25..c8d9dad9b6 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19062,3 +19062,25 @@ AFT models.")
     (description
      "This package provides methods for variable selection for AFT models.")
     (license license:gpl2)))
+
+(define-public r-flock
+  (package
+    (name "r-flock")
+    (version "0.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "flock" version))
+       (sha256
+        (base32
+         "1zg93p74icj4bhxnmnssj2xp6vw4yaksyavq03497v33xfpdxss7"))))
+    (properties `((upstream-name . "flock")))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-rcpp" ,r-rcpp)))
+    (home-page "https://cran.r-project.org/web/packages/flock/")
+    (synopsis "Process synchronization using file locks")
+    (description
+     "This package implements synchronization between R processes (spawned by
+using the @code{parallel} package for instance) using file locks.  It supports
+both exclusive and shared locking.")
+    (license license:asl2.0)))