Subject: [bug#55379] [PATCH 04/14] gnu: Add r-unpivotr.

From: kyle <[email-masked]>
Date: Thu, 12 May 2022 02:10:24 +0000

From: Kyle Andrews <[email-masked]>

---
 gnu/packages/cran.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 9578263789..213f810d04 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -33303,6 +33303,41 @@ (define-public r-tidyxl
 <http://rapidxml.sourceforge.net>.  Does not support '.xlsb' or '.xls'.")
     (license license:gpl3)))
 
+(define-public r-unpivotr
+  (package
+   (name "r-unpivotr")
+   (version "0.6.2")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (cran-uri "unpivotr" version))
+     (sha256
+      (base32 "1paqx2jn8gh4nd4zm8iwxpf38znzwwqli62ww7f3k5vwkf34r078"))))
+   (properties `((upstream-name . "unpivotr")))
+   (build-system r-build-system)
+   (propagated-inputs
+    (list r-cellranger
+          r-dplyr
+          r-forcats
+          r-magrittr
+          r-pillar
+          r-purrr
+          r-rlang
+          r-tibble
+          r-tidyr
+          r-tidyselect
+          r-xml2))
+   (native-inputs (list r-knitr))
+   (home-page "https://github.com/nacnudus/unpivotr")
+   (synopsis "Unpivot Complex and Irregular Data Layouts")
+   (description
+    "Tools for converting data from complex or irregular layouts to a columnar
+structure.  For example, tables with multilevel column or row headers, or
+spreadsheets.  Header and data cells are selected by their contents and
+position, as well as formatting and comments where available, and are associated
+with one other by their proximity in given directions.  Functions for data
+frames and HTML tables are provided.")
+   (license license:expat)))
 (define r-gpg
   (package
    (name "r-gpg")
-- 
2.36.0