summary refs log tree commit diff
diff options
context:
space:
mode:
authorMădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>2023-05-11 18:04:11 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-05-12 09:17:07 +0200
commit6c6e2b5fbc79ede6377c0716ed87857942cb6760 (patch)
treee65f2fda510564d4ddc18f1884601d33dea8fde6
parentd07342b16612cfdffad6a7b3504b74e0d95d551f (diff)
downloadguix-6c6e2b5fbc79ede6377c0716ed87857942cb6760.tar.gz
gnu: Add r-gridpattern.
* gnu/packages/cran.scm (r-gridpattern): New variable.
-rw-r--r--gnu/packages/cran.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 6920dbe13a..b4c9065c1d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -17853,6 +17853,36 @@ visualization; flexible image manipulation; metadata and sparse image
 handling.")
     (license license:gpl2)))
 
+(define-public r-gridpattern
+  (package
+    (name "r-gridpattern")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "gridpattern" version))
+       (sha256
+        (base32 "13yypjsbpr61yn15y4cyz6s8jvcgg3mmr8rncskinpk8lsa8h2h4"))))
+    (properties `((upstream-name . "gridpattern")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-glue
+           r-memoise
+           r-png
+           r-rlang
+           r-sf))
+    (native-inputs (list r-knitr r-rmarkdown))
+    (home-page "https://trevorldavis.com/R/gridpattern/")
+    (synopsis "Grid pattern grobs")
+    (description
+     "This package provides grid grobs that fill in a user-defined area with
+various patterns.  It includes enhanced versions of the geometric and
+image-based patterns originally contained in the ggpattern package as well as
+original @code{pch}, @code{polygon_tiling}, @code{regular_polygon},
+@code{rose}, @code{text}, @code{wave}, and @code{weave} patterns plus support
+for custom user-defined patterns.")
+    (license license:expat)))
+
 (define-public r-gridsvg
   (package
     (name "r-gridsvg")