Preliminary RPackage class (#2761)

This commit is contained in:
Adam J. Stewart
2017-01-07 18:28:52 -06:00
committed by Todd Gamblin
parent f379697985
commit daff3c0908
173 changed files with 238 additions and 1213 deletions

View File

@@ -25,7 +25,7 @@
from spack import *
class RRaster(Package):
class RRaster(RPackage):
"""Reading, writing, manipulating, analyzing and modeling of gridded
spatial data. The package implements basic and high-level functions.
Processing of very large files is supported."""
@@ -36,11 +36,5 @@ class RRaster(Package):
version('2.5-8', '2a7db931c74d50516e82d04687c0a577')
extends('r')
depends_on('r-sp', type=nolink)
depends_on('r-rcpp', type=nolink)
def install(self, spec, prefix):
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
self.stage.source_path)