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 RDiagrammer(Package):
|
||||
class RDiagrammer(RPackage):
|
||||
"""Create graph diagrams and flowcharts using R."""
|
||||
|
||||
homepage = "https://github.com/rich-iannone/DiagrammeR"
|
||||
@@ -34,8 +34,6 @@ class RDiagrammer(Package):
|
||||
|
||||
version('0.8.4', '9ee295c744f5d4ba9a84289ca7bdaf1a')
|
||||
|
||||
extends('r')
|
||||
|
||||
depends_on('r-htmlwidgets', type=nolink)
|
||||
depends_on('r-igraph', type=nolink)
|
||||
depends_on('r-influencer', type=nolink)
|
||||
@@ -43,7 +41,3 @@ class RDiagrammer(Package):
|
||||
depends_on('r-stringr', type=nolink)
|
||||
depends_on('r-visnetwork', type=nolink)
|
||||
depends_on('r-scales', 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