summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rsolnp/package.py
blob: db4ab2495933397ad1c62f7d7c2c58a305b204ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 RRsolnp(RPackage):
    """General Non-linear Optimization Using Augmented Lagrange Multiplier
    Method."""

    homepage = "https://cran.r-project.org/package=Rsolnp"
    url      = "https://cran.rstudio.com/src/contrib/Rsolnp_1.16.tar.gz"
    list_url = "https://cran.rstudio.com/src/contrib/Archive/Rsolnp"

    version('1.16', '507e1e1a64f5f1d32b7e4e12ed19599f')

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