r4fun / keys

:keyboard: Keyboard Shortcuts for 'shiny'
https://r4fun.github.io/keys/
Other
45 stars 6 forks source link

Make package available via conda #17

Closed hechth closed 2 years ago

hechth commented 2 years ago

It would be great to have this package also available via the conda ecosystem, not only CRAN. Would it be possible to host the package via conda-forge? Just let me know if you would need any help with this or preferred if I would take care of this.

Thanks!

tylerlittlefield commented 2 years ago

I have no experience with conda-forge but it would be really cool to see this package available there. If you want to give it a go, please do! PRs are open.

hechth commented 2 years ago

Cool, feel free to assign this to me as an issue, just to keep track of things. Would you be willing to be listed as a maintainer?

tylerlittlefield commented 2 years ago

Sure! Happy to be listed as a maintainer. Out of curiosity, can packages be published to conda-forge with github actions? I saw this and am wondering how subsequent updates to conda-forge would work.

Also, feel free to modify this packages DESCRIPTION file to include yourself as contributor if you'd like.

hechth commented 2 years ago

I don't know how this exactly works with conda forge, I know that bioconda for example is updated automatically upon creating a new release on GitHub. I thought conda-forge might be preferable as a channel as it is more generic than bioconda. I'll see how it works with automatic updates there.

hechth commented 2 years ago

PR is open at https://github.com/conda-forge/staged-recipes/pull/17424

mfansler commented 2 years ago

Out of curiosity, can packages be published to conda-forge with github actions? I saw this and am wondering how subsequent updates to conda-forge would work.

@hechth @tyluRp The standard Conda Forge recipe template for R packages is to work downstream from CRAN. Conda Forge has an hourly GitHub Workflow that checks CRAN for new releases and then automatically generates PRs on the corresponding feedstocks. New feedstocks now default to auto-merging bot-PRs, so under typical circumstances pushing to CRAN propagates to Conda Forge automatically.

tylerlittlefield commented 2 years ago

Closing now that the PR is merged. Thanks again @hechth for setting this up. I'll update the README later today to add the conda badge.