summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-trust/package.py
blob: e076cf5cfd5f992e4b8ea4abe58664d714bffd5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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 RTrust(RPackage):
    """Does local optimization using two derivatives and trust regions.
       Guaranteed to converge to local minimum of objective function."""

    homepage = "http://www.stat.umn.edu/geyer/trust"
    url      = "https://cran.r-project.org/src/contrib/trust_0.1-7.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/trust"

    version('0.1-7', '7e218b3a6b33bd77bd7e86dc6360418d')