summary refs log tree commit diff
diff options
context:
space:
mode:
authorNavid Afkhami <navid.afkhami@mdc-berlin.de>2023-06-23 13:48:53 +0000
committerRicardo Wurmus <rekado@elephly.net>2023-07-03 09:57:15 +0200
commit896c8723065a062b1d4063bb6460a646cf8c290e (patch)
tree316a4fad8fdbfd231af92d610bb40d90d5476b22
parent4ef4de633c34dc651e63c32a8d24769c35e9f29a (diff)
downloadguix-896c8723065a062b1d4063bb6460a646cf8c290e.tar.gz
gnu: Add r-ggfittext.
* gnu/packages/cran.scm (r-ggfittext): New variable.
-rw-r--r--gnu/packages/cran.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index fe527ca51e..fc2c4afa89 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -722,6 +722,26 @@ dumbbell charts, the ability to encircle points and coordinate-system-based
 text annotations.")
     (license license:agpl3)))
 
+(define-public r-ggfittext
+  (package
+    (name "r-ggfittext")
+    (version "0.10.0")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "ggfittext" version))
+              (sha256
+               (base32
+                "06xfv552nhw13wc8dixyqhhmw5zh8hphrabw090nzb33cpfwzin8"))))
+    (properties `((upstream-name . "ggfittext")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-ggplot2 r-gridtext r-shades r-stringi))
+    (native-inputs (list r-knitr))
+    (home-page "https://wilkox.org/ggfittext/")
+    (synopsis "Ggfittext is a ggplot2 extension for fitting text into boxes")
+    (description
+     "Ggfittext is a ggplot2 extension for fitting text into boxes.")
+    (license license:gpl2)))
+
 (define-public r-glmpca
   (package
     (name "r-glmpca")