DyfanJones / RAthena

Connect R to Athena using Boto3 SDK (DBI Interface)
https://dyfanjones.github.io/RAthena/
Other
35 stars 6 forks source link

Push package to anaconda #143

Closed DyfanJones closed 1 month ago

DyfanJones commented 3 years ago

Would be nice to have this package put in the anaconda distribution: https://docs.conda.io/projects/conda-build/en/latest/user-guide/tutorials/build-r-pkgs.html

pdiakumis commented 1 month ago

I can take a look at this, having it condarised would help with the boto3 Python dependency.

DyfanJones commented 1 month ago

I will need to update RAthena so that it is compatible with the latest version of dbplyr.

pdiakumis commented 1 month ago

Current dbplyr version is v2.5.0, the one before that is 2.4.0. I think for the time being I can pin RAthena v2.6.1 to be only compatible with dbplyr <= 2.4.0, if that makes sense?

-- Edit: we don't actually need to specify dbplyr in the conda recipe since it's under Suggests in the DESCRIPTION. I've opened a PR at https://github.com/conda-forge/staged-recipes/pull/27204, will see how that goes.

pdiakumis commented 1 month ago

PR merged, conda env tested on Mac, this should be good to go. Conda pkg available at https://anaconda.org/conda-forge/r-rathena

conda install -c conda-forge r-rathena

--- Btw, the conda-forge infrastructure should be able to track whenever the RAthena CRAN version gets updated so it will bump the version automatically.

DyfanJones commented 1 month ago

@pdiakumis this is amazing! Thanks so much for all the effort you have put in. I will close this ticket now :D