Closed dnanto closed 3 years ago
Yes I think it is relatively easy to turn a R package into a conda package. For example I know someone did it for my other package TransPhylo, cf https://anaconda.org/bioconda/r-transphylo
I don't really know it is done though, so if you or anybody else could volunteer this would be great!
Cool, I'll give it a shot, I'll post the steps I took here.
Ran this:
conda skeleton cran https://github.com/xavierdidelot/BactDating
conda build r-bactdating
Then, created a pull request on the conda-forge channel.
I've included BactDating in a Snakemake workflow and it works great. For reproducibility, I would like to list it as a dependency in a conda YAML file. This would require building and hosting this package on Anaconda. I saw a possible solution on StackOverflow.
If you are too busy, I could look into doing it myself if you don't have an issue with me doing so. Never tried it myself, but it seems doable. Anyway, thank you for this package, looking forward to citing it in my dissertation. Either way, I came up with a hack that works for now.