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:
+ my-uber-project
`- C/
| + C src files that are the core of my library
`- Python/
| +- Python language bindings
`- R/
+- DESCRIPTION
+- NAMESPACE
+- R/
+- src/
...
Imagine that the R subfolder of my-uber-project repository is CRAN-stallable binding/part/whatever of my-uber-project.
You can imagine calling install_github something like:
install_github('my-uber-package', 'lianos', subdir=c('R''))
Where subdir might support a character vector, eg. c('path', 'to', 'subfolder', 'with', 'R-pkg').