unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#63446] gnu: Add r-ggpattern and r-gridpattern.
@ 2023-05-11 15:59 MadalinIonel.Patrascu
  2023-05-11 16:04 ` [bug#63446] [PATCH 1/2] gnu: Add r-gridpattern Mădălin Ionel Patrașcu
  0 siblings, 1 reply; 4+ messages in thread
From: MadalinIonel.Patrascu @ 2023-05-11 15:59 UTC (permalink / raw)
  To: 63446

[-- Attachment #1: Type: text/plain, Size: 112 bytes --]

* gnu/packages/cran.scm (r-ggpattern): New variable.

* gnu/packages/cran.scm (r-gridpattern): New variable.

[-- Attachment #2: Type: text/html, Size: 1016 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#63446] [PATCH 1/2] gnu: Add r-gridpattern.
  2023-05-11 15:59 [bug#63446] gnu: Add r-ggpattern and r-gridpattern MadalinIonel.Patrascu
@ 2023-05-11 16:04 ` Mădălin Ionel Patrașcu
  2023-05-11 16:04   ` [bug#63446] [PATCH 2/2] gnu: Add r-ggpattern Mădălin Ionel Patrașcu
  2023-05-12  7:19   ` bug#63446: [PATCH 1/2] gnu: Add r-gridpattern Ricardo Wurmus
  0 siblings, 2 replies; 4+ messages in thread
From: Mădălin Ionel Patrașcu @ 2023-05-11 16:04 UTC (permalink / raw)
  To: 63446; +Cc: rekado

* 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#63446] [PATCH 2/2] gnu: Add r-ggpattern.
  2023-05-11 16:04 ` [bug#63446] [PATCH 1/2] gnu: Add r-gridpattern Mădălin Ionel Patrașcu
@ 2023-05-11 16:04   ` Mădălin Ionel Patrașcu
  2023-05-12  7:19   ` bug#63446: [PATCH 1/2] gnu: Add r-gridpattern Ricardo Wurmus
  1 sibling, 0 replies; 4+ messages in thread
From: Mădălin Ionel Patrașcu @ 2023-05-11 16:04 UTC (permalink / raw)
  To: 63446; +Cc: rekado

* gnu/packages/cran.scm (r-ggpattern): 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 d8bf51654c..a5292fec57 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -20191,6 +20191,36 @@ (define-public r-ggextra
 marginal histograms/boxplots/density plots to ggplot2 scatterplots.")
     (license license:expat)))
 
+(define-public r-ggpattern
+  (package
+    (name "r-ggpattern")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "ggpattern" version))
+       (sha256
+        (base32 "1b9bfxlg64gr39bz58fp6jmg4nziwk8rk94rzpjsqhfhpwi2lrgr"))))
+    (properties `((upstream-name . "ggpattern")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-ggplot2
+           r-glue
+           r-gridpattern
+           r-rlang
+           r-scales))
+    (native-inputs (list r-knitr r-ragg r-rmarkdown))
+    (home-page "https://github.com/coolbutuseless/ggpattern")
+    (synopsis "Ggplot2 pattern geoms")
+    (description
+     "This package provides ggplot2 geoms filled with various patterns.  Includes
+a patterned version of every ggplot2 geom that has a region that can be filled
+with a pattern.  Provides a suite of ggplot2 aesthetics and scales for
+controlling pattern appearances.  Supports over a dozen builtin patterns (every
+pattern implemented by gridpattern) as well as allowing custom user-defined
+patterns.")
+    (license license:expat)))
+
 (define-public r-minpack-lm
   (package
     (name "r-minpack-lm")
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#63446: [PATCH 1/2] gnu: Add r-gridpattern.
  2023-05-11 16:04 ` [bug#63446] [PATCH 1/2] gnu: Add r-gridpattern Mădălin Ionel Patrașcu
  2023-05-11 16:04   ` [bug#63446] [PATCH 2/2] gnu: Add r-ggpattern Mădălin Ionel Patrașcu
@ 2023-05-12  7:19   ` Ricardo Wurmus
  1 sibling, 0 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2023-05-12  7:19 UTC (permalink / raw)
  To: Mădălin Ionel Patrașcu; +Cc: 63446-done

I applied both with changes to the description.
Thanks!

-- 
Ricardo




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-12  7:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-11 15:59 [bug#63446] gnu: Add r-ggpattern and r-gridpattern MadalinIonel.Patrascu
2023-05-11 16:04 ` [bug#63446] [PATCH 1/2] gnu: Add r-gridpattern Mădălin Ionel Patrașcu
2023-05-11 16:04   ` [bug#63446] [PATCH 2/2] gnu: Add r-ggpattern Mădălin Ionel Patrașcu
2023-05-12  7:19   ` bug#63446: [PATCH 1/2] gnu: Add r-gridpattern Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).