summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-janitor/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-janitor/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-janitor/package.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-janitor/package.py b/var/spack/repos/builtin/packages/r-janitor/package.py
new file mode 100644
index 0000000000..eeb66b3c41
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-janitor/package.py
@@ -0,0 +1,30 @@
+# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RJanitor(RPackage):
+ """The main janitor functions can: perfectly format data.frame column
+ names; provide quick one- and two-variable tabulations (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
+ Microsoft Excel. This package follows the principles of the "tidyverse"
+ and works well with the pipe function %>%. 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."""
+
+ homepage = "https://github.com/sfirke/janitor"
+ url = "https://cran.r-project.org/src/contrib/janitor_0.3.0.tar.gz"
+ list_url = "https://cran.r-project.org/src/contrib/Archive/janitor"
+
+ version('0.3.0', '76036c54693b91aef19d468107ae066a')
+
+ depends_on('r-dplyr', type=('build', 'run'))
+ depends_on('r-tidyr', type=('build', 'run'))
+ depends_on('r-magrittr', type=('build', 'run'))