From 6c6e2b5fbc79ede6377c0716ed87857942cb6760 Mon Sep 17 00:00:00 2001 From: Mădălin Ionel Patrașcu Date: Thu, 11 May 2023 18:04:11 +0200 Subject: gnu: Add r-gridpattern. * gnu/packages/cran.scm (r-gridpattern): New variable. --- gnu/packages/cran.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) 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") -- cgit v1.2.3