summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-snow/package.py
blob: d16983bdece111c42386a670e562277e47f2bd4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 2013-2023 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.package import *


class RSnow(RPackage):
    """Simple Network of Workstations.

    Support for simple parallel computing in R."""

    cran = "snow"

    version("0.4-4", sha256="84587f46f222a96f3e2fde10ad6ec6ddbd878f4e917cd926d632f61a87db13c9")
    version("0.4-3", sha256="8512537daf334ea2b8074dbb80cf5e959a403a78d68bc1e97664e8a4f64576d8")
    version("0.4-2", sha256="ee070187aea3607c9ca6235399b3db3e181348692405d038e962e06aefccabd7")

    depends_on("r@2.13.1:", type=("build", "run"))

    @run_after("install")
    def install_wrapper(self):
        mkdir(self.prefix.bin)
        install("inst/RMPISNOW", self.prefix.bin)