Conversation
This PR does a sweep of CRAN R packages in Spack, and does the following: - add new versions of packages if available - make sure the `cran` attribute is set - add new packages as required Due to adding the `cran` attribute, almost all R CRAN packages had changes. Since almost all packages were being touched, I also tried to standardize the formatting of the packages. - make sure there is a short and long description - have dependencies specified in the same order as in the DESCRIPTION file - place `when` directives at the end Having consistency makes it easier to process these in bulk. The process is script driven but requires interaction. I am hopeful that the consistent formatting will allow for further automation. All of the packages in this PR were built with gcc-10.3.0 prior to submitting the PR.
|
Audit checks will fail if the r dependency is a version less than the lowest version in Spack's |
|
Looks like I need to find UTF-8 characters to pass the python-2.7 test. |
The oldest R version in Spack is 3.1.2. Any dependency spec for a version older than that will fail the github audit test.
These formed after the previous edit to remove old r dependencies.
e368c36 to
bc47226
Compare
|
I am not sure how to interpret this audit test failure: The following is in the package: This concretizes and builds but the audit test does not like those conflicts. Update: I am missing the |
|
@spackbot run pipeline |
|
I've started that pipeline for you! |
This should only be true if the package requires a specific version like |
This reverts commit 74e7839.
Yep, I misread the test results. I reverted that change and fixed the package that triggered it. |
adamjstewart
left a comment
There was a problem hiding this comment.
Scrolled through about half of them, LGTM. Some of the new docstrings look a bit long, but I'll let you decide what to use. I like the consistency. Also, not sure if it's better to use the CRAN page as the homepage or the URLs listed on that page that the developers chose. For PyPI, I usually prefer the latter.
Someday I would love to add the update script you use directly to Spack. People have asked for similar things to autogenerate packages for CMake and PyPI but those build systems are much less uniform than R.
I decided to use the canonical CRAN "homepage". This makes things more internally consistent with CRAN packages as well as with BioConductor packages, which have a similar scheme, although a different portal. |
|
Hi, it worked before but today creating a new environment and reinstall |
|
I can reproduce this too, no idea what could be causing this to fail. |
|
I think because units has a new version? I can install with my repo after adding the new one. |
|
But we should be using list_url as a backup for all packages |
|
It seems like issues with |
I tried to install |
|
@glennpj Tried it, works fine now |
This PR does a sweep of CRAN R packages in Spack, and does the following:
cranattribute is setDue to adding the
cranattribute, almost all R CRAN packages hadchanges. Since almost all packages were being touched, I also tried to
standardize the formatting of the packages.
file
whendirectives at the endHaving consistency makes it easier to process these in bulk. The process
is script driven but requires interaction. I am hopeful that the
consistent formatting will allow for further automation.
All of the packages in this PR were built with gcc-10.3.0 prior to
submitting the PR.