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 RTidyr(Package):
|
||||
class RTidyr(RPackage):
|
||||
"""An evolution of 'reshape2'. It's designed specifically for data tidying
|
||||
(not general reshaping or aggregating) and works well with 'dplyr' data
|
||||
pipelines."""
|
||||
@@ -36,14 +36,9 @@ class RTidyr(Package):
|
||||
|
||||
version('0.5.1', '3cadc869510c054ed93d374ab44120bd')
|
||||
|
||||
extends('r')
|
||||
depends_on('r-tibble', type=nolink)
|
||||
depends_on('r-dplyr', type=nolink)
|
||||
depends_on('r-stringi', type=nolink)
|
||||
depends_on('r-lazyeval', type=nolink)
|
||||
depends_on('r-magrittr', 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)
|
||||
|
Reference in New Issue
Block a user