bgruening / conda_r_skeleton_helper

Cleaning up Conda r-packages
MIT License
47 stars 32 forks source link

build.sh fails when using a new version of conda skeleton #39

Closed brendanf closed 5 years ago

brendanf commented 5 years ago

I'm using conda-build 3.18.10, and recipes generated by conda_r_skeleton_helper are failing with grep: DESCRIPTION.old: No such file or directory. The reason is here:

https://github.com/bgruening/conda_r_skeleton_helper/blob/2cb70d83278cb388b2d5ec87195386117a096088/run.py#L131-L137

The targeted lines in the output of conda skeleton cran:

  mv DESCRIPTION DESCRIPTION.old
  grep -va '^Priority: ' DESCRIPTION.old > DESCRIPTION

So the first line gets removed, but the regex no longer matches the second line. PR is on the way.