Subject: [PATCH 1/2] gnu: Add r-gridpattern.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Thu, 11 May 2023 18:04:11 +0200

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 6920dbe13a..d8bf51654c 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -17853,6 +17853,35 @@ (define-public r-tractor-base
 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.  Includes enhanced versions of the geometric and image-based
+patterns originally contained in the ggpattern package as well as original pch,
+polygon_tiling, regular_polygon, rose, text, wave, and weave patterns plus
+support for custom user-defined patterns.")
+    (license license:expat)))
+
 (define-public r-gridsvg
   (package
     (name "r-gridsvg")

base-commit: e2eb43f945fd467e9b55a4b3c91cd186cf32e268
-- 
2.39.2