
We'd like to use a consistent checksum scheme everywhere so that we can: a) incorporate archive checksums into our specs and have a consistent hashing algorithm across all specs. b) index mirrors with a consistent type of checksum, and not one that is dependent on how spack packages are written. - [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
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 RSplitstackshape(RPackage):
|
|
"""Stack and Reshape Datasets After Splitting Concatenated Values.
|
|
|
|
Online data collection tools like Google Forms often export
|
|
multiple-response questions with data concatenated in cells. The
|
|
concat.split (cSplit) family of functions splits such data into
|
|
separate cells. The package also includes functions to stack groups
|
|
of columns and to reshape wide data, even when the data are
|
|
"unbalanced" something which reshape (from base R) does not handle,
|
|
and which melt and dcast from reshape2 do not easily handle.
|
|
"""
|
|
|
|
homepage = "http://github.com/mrdwab/splitstackshape"
|
|
url = "https://cloud.r-project.org/src/contrib/splitstackshape_1.4.4.tar.gz"
|
|
list_url = "https://cloud.r-project.org/src/contrib/Archive/splitstackshape"
|
|
|
|
version('1.4.8', sha256='656032c3f1e3dd5b8a3ee19ffcae617e07104c0e342fc3da4d863637a770fe56')
|
|
version('1.4.6', sha256='b9888f9508babdb8e09f57674facaa8b158a06255ef1e61c8df813f58881860f')
|
|
version('1.4.4', sha256='78c27fb55459b0cc858cef5c2201a10ae2472a1a0be179e05df05ced2f590f6e')
|
|
|
|
depends_on('r@2.10:', type=('build', 'run'))
|
|
depends_on('r-data-table@1.9.4:', type=('build', 'run'))
|