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 RTestthat(Package):
|
||||
class RTestthat(RPackage):
|
||||
"""A unit testing system designed to be fun, flexible and easy to set
|
||||
up."""
|
||||
|
||||
@@ -35,14 +35,8 @@ class RTestthat(Package):
|
||||
|
||||
version('1.0.2', '6c6a90c8db860292df5784a70e07b8dc')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-digest', type=nolink)
|
||||
depends_on('r-crayon', type=nolink)
|
||||
depends_on('r-praise', type=nolink)
|
||||
depends_on('r-magrittr', type=nolink)
|
||||
depends_on('r-r6', 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