diff options
author | Nicolò Balzarotti <anothersms@gmail.com> | 2019-03-01 09:07:57 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-04-19 19:14:24 +0200 |
commit | 107850b3915c007fe1227bcb396cfe377e661e0f (patch) | |
tree | aa4bea1fe99cd665de46cb021f961d930e5d57c0 /gnu | |
parent | 2613bab627e1cbc5557841ceee0c1ba08d1897f1 (diff) | |
download | patches-107850b3915c007fe1227bcb396cfe377e661e0f.tar patches-107850b3915c007fe1227bcb396cfe377e661e0f.tar.gz |
gnu: Add r-styler.
* gnu/packages/cran.scm (r-styler): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/cran.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 5ea36cfdd6..2f9e4770ef 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -13920,3 +13920,33 @@ on a negative binomial regression model with regularized parameters. As part of the same regression framework, this package also provides functions for batch correction, and data correction.") (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))) |