diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2017-01-07 18:28:52 -0600 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-01-07 16:28:52 -0800 |
commit | daff3c0908717eedf6a3e192dc37b8aa23111042 (patch) | |
tree | 150e510c0176de96b809fcf91a708c130b5538f7 /var/spack/repos/builtin/packages/r-rstan | |
parent | f379697985f0b09a3856e12fff3cf69972a31cc1 (diff) | |
download | spack-daff3c0908717eedf6a3e192dc37b8aa23111042.tar.gz spack-daff3c0908717eedf6a3e192dc37b8aa23111042.tar.bz2 spack-daff3c0908717eedf6a3e192dc37b8aa23111042.tar.xz spack-daff3c0908717eedf6a3e192dc37b8aa23111042.zip |
Preliminary RPackage class (#2761)
Diffstat (limited to 'var/spack/repos/builtin/packages/r-rstan')
-rw-r--r-- | var/spack/repos/builtin/packages/r-rstan/package.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/r-rstan/package.py b/var/spack/repos/builtin/packages/r-rstan/package.py index 4f580d7853..26a040c363 100644 --- a/var/spack/repos/builtin/packages/r-rstan/package.py +++ b/var/spack/repos/builtin/packages/r-rstan/package.py @@ -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) |