-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
conda skeleton install R package from github #6674
Comments
You can just pass the github url to |
In conda-build :) |
Thanks for the quick reply! I'm unclear about what you mean by
As a test, I tried the following and ran into an error:
The repo has a DESCRIPTION file, which looks like it's correctly formatted. I don't really understand the |
It tries to find the most recent tag and errors out if there are none. You should ask the project if they can make a release and tag it (or else make a PR to conda-build to add an argument for which git reference to use, where no value means latest tag). BTW, please open issues against |
Thanks for the clarification! This should probably be a different thread/issue, but when trying to use
When I try to then run Sorry for all of the questions, but I can't find much documentation on using |
Indeed.
|
Yep, you're absolutely right. When I last looked at |
In reference to old comment from above: #6674 (comment) For anyone else coming here via Google search, a quick workaround to this is forking the repository on GitHub you want to make a conda package from, and then adding a tag to your forked repository, e.g. in the terminal
Then using e.g. |
Hi - I successfully managed to use this method to installr package cmdstanr on Windows conda using the following commands:
but now on a different machine on Linux I am getting this error:
Can anyone help? I've spent many hours and I feel like I'm almost there... |
If possible, I'd like to install an R package into my conda environment, but the R package is only available on GitHub. Is there any way that I can use
conda skeleton
to create a conda package for this R package, or am I stuck usingdevtools::install_github
withinR
?The text was updated successfully, but these errors were encountered: