Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
install_bitbucket not working #148
I am so excited to see this function in devtools, but it does not seem to work. The examples in ?install_bitbucket don't work:
Or for another example, I have a buildable R library at:
But I don't seem to be able to install it using install_bitbucket:
attached base packages:
other attached packages:
loaded via a namespace (and not attached):
It looks like this may be because of a difference between how hg repositories are zipped up vs. git repositories.
To install this repo, I think you need to specify a branch other than the default
install_bitbucket("hgnchelper", username="lwaldron", ref="default") # Error: Does not appear to be an R package
The problem is that in
Here's what the file list looks like for devtools:
And here's what it looks like for hgnchelper:
I think a possible solution is to take the first item in the name list and drop everything after the last slash (though Windows may require something slightly different).