diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2022-07-04 13:19:22 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-07-04 13:48:57 +0200 |
commit | 4aee04819e98d1fecf8b0d3c59d2c34f47bad2c5 (patch) | |
tree | 6c2679b1f9063575083852e88f068692d551d7aa /gnu/packages/cran.scm | |
parent | 12d206901a739b44205539c39ec0365919b6df12 (diff) | |
download | guix-4aee04819e98d1fecf8b0d3c59d2c34f47bad2c5.tar.gz |
gnu: Add r-janitor.
* gnu/packages/cran.scm (r-janitor): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r-- | gnu/packages/cran.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index de6986d1eb..57c2ae5d15 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -28942,6 +28942,46 @@ novels, ready for text analysis. These novels are \"Sense and Sensibility\", and \"Persuasion\".") (license license:expat))) +(define-public r-janitor + (package + (name "r-janitor") + (version "2.1.0") + (source (origin + (method url-fetch) + (uri (cran-uri "janitor" version)) + (sha256 + (base32 + "09nqm957m2f54y2l30619b58x4i7gxwvr2lwg5kly5xy1ya1a1nn")))) + (properties `((upstream-name . "janitor"))) + (build-system r-build-system) + (propagated-inputs + (list r-dplyr + r-lifecycle + r-lubridate + r-magrittr + r-purrr + r-rlang + r-snakecase + r-stringi + r-stringr + r-tidyr + r-tidyselect)) + (native-inputs (list r-knitr)) + (home-page "https://github.com/sfirke/janitor") + (synopsis "Simple tools for examining and cleaning dirty data") + (description + "The main janitor functions can: perfectly format @code{data.frame column} +names; provide quick counts of variable combinations (i.e., frequency tables +and crosstabs); and isolate duplicate records. Other janitor functions nicely +format the tabulation results. These tabulate-and-report functions +approximate popular features of SPSS and Excel. This package follows the +principles of the \"tidyverse\" and works well with the pipe function +@code{%>%}. janitor was built with beginning-to-intermediate R users in mind +and is optimized for user-friendliness. Advanced R users can already do +everything covered here, but with janitor they can do it faster and save their +thinking for the fun stuff.") + (license license:expat))) + (define-public r-tokenizers (package (name "r-tokenizers") |