summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-magic/package.py
blob: 7365cfc3dd58d67e4b08aa0a647590badbe9aa2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 RMagic(RPackage):
    """A collection of efficient, vectorized algorithms for the creation and
    investigation of magic squares and hypercubes, including a variety of
    functions for the manipulation and analysis of arbitrarily dimensioned
    arrays."""

    homepage = "https://cran.r-project.org/"
    url      = "https://cran.r-project.org/src/contrib/magic_1.5-6.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/magic"

    version('1.5-6', 'a68e5ced253b2196af842e1fc84fd029')

    depends_on('r-abind', type=('build', 'run'))