Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add several new R packages #2952

Merged
merged 6 commits into from
Jan 31, 2017
Merged

Conversation

adamjstewart
Copy link
Member

Also updates to the latest version for several existing R packages.

@adamjstewart adamjstewart changed the title [WIP] Add several new R packages Add several new R packages Jan 28, 2017
@adamjstewart adamjstewart removed the WIP label Jan 28, 2017
depends_on('r-kernlab', type=('build', 'run'))
depends_on('r-e1071', type=('build', 'run'))
depends_on('r-glmnet', type=('build', 'run'))
depends_on('r-xgboost', type=('build', 'run'))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concretizing this package is absolutely brutal:

$ time spack spec r-rminer
...
real	7m16.433s
user	7m9.730s
sys	0m4.468s

@citibeth
Copy link
Member

Why do the new packages subclass Package and not RPackage?

@adamjstewart
Copy link
Member Author

Hmm, that is a good question, seeing as how it correctly renamed them to r-*. I'll take a look and fix that up. Good catch!

@adamjstewart adamjstewart changed the title Add several new R packages [WIP] Add several new R packages Jan 28, 2017
@@ -249,6 +249,7 @@ def __init__(self, name, *args):

class RPackageTemplate(PackageTemplate):
"""Provides appropriate overrides for R extensions"""
base_class_name = 'RPackage'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somehow I completely forgot this in #2761.

@tgamblin
Copy link
Member

@adamjstewart: is this WIP?

@adamjstewart
Copy link
Member Author

Well, I haven't yet tried to install any of them, but they shouldn't break anything at least. I was going to install them on Monday 😄

@tgamblin
Copy link
Member

Ok I'll wait til Monday.

@adamjstewart adamjstewart removed the WIP label Jan 30, 2017
@adamjstewart adamjstewart changed the title [WIP] Add several new R packages Add several new R packages Jan 30, 2017
@adamjstewart
Copy link
Member Author

Ok, this should be all of the packages I need for now. I was able to install all of them, but I wasn't able to activate them due to the bug I mentioned in #2951 (comment).

@tgamblin tgamblin merged commit 0c0a1fd into spack:develop Jan 31, 2017
@adamjstewart adamjstewart deleted the features/r-packages branch January 31, 2017 16:34
diaena pushed a commit to diaena/spack that referenced this pull request May 26, 2017
* Add several new R packages

* Add a few more R packages

* Update more versions

* Convert Package to RPackage

* Add a few more packages

* Add missing dependencies
amklinv pushed a commit that referenced this pull request Jul 17, 2017
* Add several new R packages

* Add a few more R packages

* Update more versions

* Convert Package to RPackage

* Add a few more packages

* Add missing dependencies
healther pushed a commit to electronicvisions/spack that referenced this pull request Jul 26, 2017
* Add several new R packages

* Add a few more R packages

* Update more versions

* Convert Package to RPackage

* Add a few more packages

* Add missing dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants