r-polars icon indicating copy to clipboard operation
r-polars copied to clipboard

Publish on conda-forge?

Open Hoeze opened this issue 1 year ago • 3 comments

Hi, there is already https://github.com/conda-forge/polars-feedstock/. Would it be possible to also have a conda-forge package for rpolars?

Hoeze avatar Apr 04 '23 16:04 Hoeze

For R packages, I think generally conda-forge sources CRAN. r-polars is not published on CRAN, so I don't know if it can be published on conda-forge.

eitsupi avatar Apr 04 '23 16:04 eitsupi

@eitsupi It's not a requirement to have it published on CRAN, you can also just pull the sources directly from github: https://github.com/conda-forge/staged-recipes/blob/main/recipes/example/meta.yaml#L17-L21 I think in case of R-Polars it anyways makes more sense to directly build it from the repo.

Here is the repo from the r-data.table packge for comparison: https://github.com/conda-forge/r-data.table-feedstock/blob/main/recipe/meta.yaml It would not be an issue to replace the URLs simply with the github one.


Out of interest: Is there anything that keeps you from publishing it on CRAN?

Hoeze avatar Apr 04 '23 16:04 Hoeze

Dear @Hoeze.

Thank you for suggesting conda-forge. Currently rpolars is not straight forward to install on any distribution/OS if the user is not using rust. Windows/mac is easy. Linux is mixed.

Similarly @Sicheng-Pan has provided a Nix build. In my opinion rpolars will support and promote on front page any build "augmentation" such as conda-forge, if someone implements it and maintains a test workflow.

For me alone, it can be overwhelming to support all release/build channels. I happily take all the help I can get :)

CRAN is for sure coming up, you can track the current issues here

sorhawell avatar Apr 05 '23 17:04 sorhawell