gnu: Add r-styler.

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

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
Nicolò Balzarotti 2019-03-01 09:07:57 +01:00 committed by Ricardo Wurmus
parent 2613bab627
commit 107850b391
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -13920,3 +13920,33 @@ (define-public r-sctransform
of the same regression framework, this package also provides functions for of the same regression framework, this package also provides functions for
batch correction, and data correction.") batch correction, and data correction.")
(license license:gpl3))) (license license:gpl3)))
(define-public r-styler
(package
(name "r-styler")
(version "1.1.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "styler" version))
(sha256
(base32
"1z24mi88snbz1avjw9phq0lzmigddvycc56s83nxzr9w9z85mh05"))))
(build-system r-build-system)
(propagated-inputs
`(("r-backports" ,r-backports)
("r-cli" ,r-cli)
("r-magrittr" ,r-magrittr)
("r-purrr" ,r-purrr)
("r-rematch2" ,r-rematch2)
("r-rlang" ,r-rlang)
("r-rprojroot" ,r-rprojroot)
("r-tibble" ,r-tibble)
("r-withr" ,r-withr)
("r-xfun" ,r-xfun)))
(home-page "https://github.com/r-lib/styler")
(synopsis "Non-invasive pretty printing of R code")
(description
"This is a package for pretty-printing R code without changing the user's
formatting intent.")
(license license:gpl3)))