summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-12-09 17:45:11 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-12-09 22:03:27 +0100
commit24cf213edb125dca292013332830cf33679bfd90 (patch)
treea07dbf48593c973eb0891fc902549fb9287a967f
parentbd5f75125925e423f4585bcb4cc36d15bfb97daa (diff)
gnu: Add r-diffobj.
* gnu/packages/cran.scm (r-diffobj): New variable.
-rw-r--r--gnu/packages/cran.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b2cd3059e7..19e78c2bcd 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -121,6 +121,28 @@ functions always read and write UTF-8 (8-bit Unicode Transformation Format)
files and provide more explicit control over line endings.")
(license license:expat)))
+(define-public r-diffobj
+ (package
+ (name "r-diffobj")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "diffobj" version))
+ (sha256
+ (base32
+ "0v18zz14g8ppzmj1d997rdmsfh327ml4wvpmfx168lravdsk5ym2"))))
+ (properties `((upstream-name . "diffobj")))
+ (build-system r-build-system)
+ (propagated-inputs `(("r-crayon" ,r-crayon)))
+ (native-inputs `(("r-knitr" ,r-knitr)))
+ (home-page "https://github.com/brodieG/diffobj")
+ (synopsis "Diffs for R objects")
+ (description
+ "Generate a colorized diff of two R objects for an intuitive
+visualization of their differences.")
+ (license license:gpl2+)))
+
(define-public r-rticles
(package
(name "r-rticles")