guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

13/20: gnu: Add r-polyclip.


From: guix-commits
Subject: 13/20: gnu: Add r-polyclip.
Date: Wed, 27 Mar 2019 11:17:32 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 09dde7fb01b3685f1549661d50aeecb18696bc05
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Mar 27 15:44:32 2019 +0100

    gnu: Add r-polyclip.
    
    * gnu/packages/cran.scm (r-polyclip): New variable.
---
 gnu/packages/cran.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b0fb5ec..1690320 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -13221,3 +13221,28 @@ data that can be used as basis for animation.  
Furthermore it adds a number of
 vectorized interpolaters for common R data types such as numeric, date and
 color.")
     (license license:expat)))
+
+(define-public r-polyclip
+  (package
+    (name "r-polyclip")
+    (version "1.10-0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "polyclip" version))
+       (sha256
+        (base32
+         "0jyk4maqiblvj095jd59dr76kbniyli3v3xvy0a72ljszq6vrnkl"))))
+    (build-system r-build-system)
+    (native-inputs `(("pkg-config" ,pkg-config)))
+    (home-page "http://www.angusj.com/delphi/clipper.php";)
+    (synopsis "Polygon clipping")
+    (description
+     "This package provides an R port of the library Clipper.  It performs
+polygon clipping operations (intersection, union, set minus, set difference)
+for polygonal regions of arbitrary complexity, including holes.  It computes
+offset polygons (spatial buffer zones, morphological dilations, Minkowski
+dilations) for polygonal regions and polygonal lines.  It computes the
+Minkowski Sum of general polygons.  There is a function for removing
+self-intersections from polygon data.")
+    (license license:boost1.0)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]