Subject: [bug#66916] [PATCH] gnu: Add r-ggbreak.

From: "Afkhami, Navid" <[email-masked]>
Date: Fri, 3 Nov 2023 14:27:42 +0000

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

Change-Id: I27d62d0110fb56e77dc8cf82581adb6259317c2d
---
 gnu/packages/cran.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 30f28f6adc..f54ad16e34 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -824,6 +824,26 @@ (define-public r-ggalt
 text annotations.")
     (license license:agpl3)))
 
+(define-public r-ggbreak
+  (package
+    (name "r-ggbreak")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "ggbreak" version))
+       (sha256
+        (base32 "14rx16v66xd0fjlywi89dq9dbw41zn7hpq14wgvf0178cxdp2fw4"))))
+    (properties `((upstream-name . "ggbreak")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-aplot r-ggfun r-ggplot2 r-ggplotify r-rlang))
+    (native-inputs (list r-knitr))
+    (home-page "https://github.com/YuLab-SMU/ggbreak")
+    (synopsis "Set axis break for 'ggplot2'")
+    (description
+     "An implementation of scale functions for setting axis breaks of a ggplot.")
+    (license license:artistic2.0)))
+
 (define-public r-ggdist
   (package
     (name "r-ggdist")

base-commit: 6ae8fd7aa7a843ea831b24b74c9d3f7ea3ff49a9
prerequisite-patch-id: 73f432e1cad3f22e00482218f8a8c252edf0c5dd
-- 
2.34.1