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
Enable install_github to specify a subdir of github repo to use as package root #64
Comments
I'll take a shot at forking + provide pull request if others also find this useful -- just wanted to get some feedback on a good way to name/specify the |
I'd recommend working with |
To give another example where this could be useful: R-Forge subversion repositories also have this structure: the package are not at the root of the repository, but under a pkg directory off the root. |
I wonder if we also need an |
@lianos we would definitely find this feature really useful! We're exactly in the situation @BrianDiggs described: maintaining the dev-version in GitHub and pushing the releases to R-Forge for Win and Mac builds. Let me know if there's anything I can do to help. |
Anyone have any repos I can test this on? |
Thanks for looking into this. Here's one repo you can test with: https://github.com/louhos/soRvi-dev/ Few notes:
|
Currently,
install_github
assumes the that the repository named in the params served as the root of the R package.Adding support for a packge that looks like so would be helpful:
Imagine that the
R
subfolder ofmy-uber-project
repository is CRAN-stallable binding/part/whatever ofmy-uber-project
.You can imagine calling install_github something like:
Where
subdir
might support a character vector, eg. c('path', 'to', 'subfolder', 'with', 'R-pkg').The text was updated successfully, but these errors were encountered: