Subject: [bug#40027] [PATCH] gnu: Add r-hrbrthemes.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Wed, 11 Mar 2020 17:53:17 +0100

* gnu/packages/cran.scm (r-hrbrthemes): New variable.
---
 gnu/packages/cran.scm | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 8cc904612d..80df37121e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -10,7 +10,7 @@
 ;;; Copyright © 2018 Sandeep Subramanian <[email-masked]>
 ;;; Copyright © 2018 Charlie Ritter <[email-masked]>
 ;;; Copyright © 2018 Konrad Hinsen <[email-masked]>
-;;; Copyright © 2018 Mădălin Ionel Patrașcu <[email-masked]>
+;;; Copyright © 2018, 2020 Mădălin Ionel Patrașcu <[email-masked]>
 ;;; Copyright © 2018 Laura Lazzati <[email-masked]>
 ;;; Copyright © 2018 Leo Famulari <[email-masked]>
 ;;; Copyright © 2018 Marius Bakke <[email-masked]>
@@ -20752,3 +20752,38 @@ containing elevation data.")
 calculate the higher-order partial and semi-partial correlations but also with
 statistics and p-values of the correlation coefficients.")
     (license license:gpl2)))
+
+(define-public r-hrbrthemes
+  (package
+    (name "r-hrbrthemes")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "hrbrthemes" version))
+       (sha256
+        (base32 "057h60b5p53dcyjyfwlgjc1ry968s9s64dw78p443w8717zk7zpc"))))
+    (properties `((upstream-name . "hrbrthemes")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-extrafont" ,r-extrafont)
+       ("r-gdtools" ,r-gdtools)
+       ("r-ggplot2" ,r-ggplot2)
+       ("r-htmltools" ,r-htmltools)
+       ("r-knitr" ,r-knitr)
+       ("r-magrittr" ,r-magrittr)
+       ("r-rmarkdown" ,r-rmarkdown)
+       ("r-scales" ,r-scales)))
+    (native-inputs
+     `(("r-knitr" ,r-knitr)))
+    (home-page
+     "https://github.com/hrbrmstr/hrbrthemes/")
+    (synopsis
+     "Additional themes, theme components and utilities for @code{r-ggplot2}")
+    (description
+     "This package provides a compilation of extra @code{r-ggplot2} themes,
+ scales and utilities, including a spell check function for plot label fields
+ and an overall emphasis on typography.")
+    (license license:expat)))
+   ;;MIT + separated license file
+   ;;https://github.com/hrbrmstr/hrbrthemes/blob/master/LICENSE
-- 
2.24.1