question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Porting R channel to conda-forge

See original GitHub issue

This issue will track the effort to port the R channel into conda-forge. Please feel free to join if you like.

How to contribute

We can now start migrating R packages from conda/conda-recipes.

  • The recipes below are sorted topologically, into levels.
  • Each level has to be completed before we can do the next, because the next level will depend on recipes from the previous.
  • Go to the currently tackled level, choose a subset of the recipes, and create a pull request with them. * Please mention the PR in this issue and tick the checkbox once the PR has been merged.
  • When creating recipes, please use conda-build >=2.1.9 for an up to date skeleton.
  • Add skip: true # [win32].
  • Remove irrelevant comments.
  • Add yourself, johanneskoester and bgruening as a maintainer.
  • See my cleanup script below.

Prerequisites

  • java-jdk/openjdk (PR #2002)
  • r-base (PR #2047)
  • r-boot (PR #2098)
  • dependencies of r-recommended
  • r-recommended and r metapackages (PR #2780)

R packages to migrate (topological sort levels such that all r-package depencencies are satisfied)

Level 1

Level 2

Level 3

Level 4

Level 5

Level 6

Level 7

Level 8

Cleanup script:

In order to clean up recipes created with conda skeleton cran, I apply the following script:

#!/bin/sh

RECIPE=$1/meta.yaml
BUILDSH=$1/build.sh
BUILDBAT=$1/bld.bat

sed -i -e '/^ *#.*$/d' $RECIPE
sed -i -e '/^$/N;/^\n$/D' $RECIPE

echo extra: >> $RECIPE
echo "  recipe-maintainers:" >> $RECIPE
echo "    - johanneskoester" >> $RECIPE
echo "    - bgruening" >> $RECIPE

echo '"%R%" CMD INSTALL --build .' > $BUILDBAT
echo 'if errorlevel 1 exit 1' >> $BUILDBAT

echo '#!/bin/bash' > $BUILDSH
echo '' >> $BUILDSH
echo '$R CMD INSTALL --build .' >> $BUILDSH

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:65 (64 by maintainers)

github_iconTop GitHub Comments

6reactions
johanneskoestercommented, May 4, 2017

We are done! Thanks to everybody who helped!

4reactions
bgrueningcommented, Apr 30, 2017

I have pushed the latest version of my cleanup-scripts to https://github.com/bgruening/conda_r_skeleton_helper.

Read more comments on GitHub >

github_iconTop Results From Across the Web

conda-forge/port-for-feedstock - GitHub
conda -forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the...
Read more >
conda-forge | community driven packaging for conda
Update a package · Search for the appropriate feedstock repository. The list of existing feedstocks is a good place to start. · Fork...
Read more >
Porting legacy software packages to the Conda ... - CERN Indico
Organizations can have dedicated channels to distribute software built and packaged using Conda Build. Hosting for public projects are free. Private plans are ......
Read more >
Conda configuration
For example, to override the location of # # the 'conda-forge' channel where the ... https://anaconda-repo.dev/packages/conda-forge/linux-64/repodata.json, ...
Read more >
94: Guaranteed packages via Conda and Conda-Forge
Have you ever had trouble installing a package you wanted to use in your Python app? Likely it contained some odd dependency, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found