Skip to content

Enable install_github to specify a subdir of github repo to use as package root #64

@lianos

Description

@lianos

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').

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions