Preliminary RPackage class (#2761)
This commit is contained in:

committed by
Todd Gamblin

parent
f379697985
commit
daff3c0908
@@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class RRstan(Package):
|
||||
class RRstan(RPackage):
|
||||
"""User-facing R functions are provided to parse, compile, test, estimate,
|
||||
and analyze Stan models by accessing the header-only Stan library provided
|
||||
by the 'StanHeaders' package. The Stan project develops a probabilistic
|
||||
@@ -42,8 +42,6 @@ class RRstan(Package):
|
||||
|
||||
version('2.10.1', 'f5d212f6f8551bdb91fe713d05d4052a')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-ggplot2', type=nolink)
|
||||
depends_on('r-stanheaders', type=nolink)
|
||||
depends_on('r-inline', type=nolink)
|
||||
@@ -51,7 +49,3 @@ class RRstan(Package):
|
||||
depends_on('r-rcpp', type=nolink)
|
||||
depends_on('r-rcppeigen', type=nolink)
|
||||
depends_on('r-bh', type=nolink)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
|
||||
self.stage.source_path)
|
||||
|
Reference in New Issue
Block a user