Subject: [PATCH 13/14] gnu: Add r-showimage.

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

From: Kyle Andrews <[email-masked]>

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index a2a29f8cdb..30ca01c0a0 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -33509,6 +33509,28 @@ (define-public r-ryacas
     "Interface to the 'yacas' computer algebra system (<http://www.yacas.org/>).")
    (license (list license:gpl2+ license:gpl3+))))
 
+(define-public r-showimage
+  (package
+   (name "r-showimage")
+   (version "1.0.0")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (cran-uri "showimage" version))
+     (sha256
+      (base32
+       "1c0x3iqjdjsz3cdhc02b3qm2pwxjr1q2k87jwvxj9lnzzw81f1pl"))))
+   (properties `((upstream-name . "showimage")))
+   (build-system r-build-system)
+   (propagated-inputs (list r-png))
+   (home-page
+    "https://github.com/r-lib/showimage#readme")
+   (synopsis
+    "Show an Image on an 'R' Graphics Device")
+   (description
+    "Sometimes it is handy to be able to view an image file on an 'R' graphics device.  This package just does that.  Currently it supports 'PNG' files.")
+   (license (list license:gpl2 license:gpl3))))
+
 
 (define r-gpg
   (package
-- 
2.36.0