31 lines
1.4 KiB
Python
31 lines
1.4 KiB
Python
# Copyright 2013-2019 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'))
|