Skip to content
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

Support install_github from devtools/remotes? #21

Open
davidedelvento opened this issue Dec 4, 2017 · 6 comments
Open

Support install_github from devtools/remotes? #21

davidedelvento opened this issue Dec 4, 2017 · 6 comments

Comments

@davidedelvento
Copy link

It would be great if this role would support install_github (and related) from devtools or from remotes (which should be the same...)

Besides the convenience, some projects (e.g. R for jupyter notebooks) can only be installed this way.

Any plan or interest on supporting devtools/remotes?

@tersmitten
Copy link
Member

Installation of packages from github.com is already supported, but I'm definitely interested in improving this and making more remotes available.

@davidedelvento
Copy link
Author

Thanks for your answer.
Can you please elaborate some or point me to the documentation on how to install from github in the current version?

@tersmitten
Copy link
Member

There's an example in the Readme. You need to specify an organization/repository and a type (github)

@brooklynbagel
Copy link

brooklynbagel commented Dec 5, 2017

I'd be glad to work on improving it as well since I submitted the original PR. I think adding additional remotes is a great idea. See the README here and you'll find an example.

@tersmitten
Copy link
Member

Also have a look at the R-install-requirements script that is included in this role. We use this script to install requirements for shiny-apps (from a file)

@maxolasersquad
Copy link

Something like this would be nice.

    r_packages:
      - name: dplyr
      - name: mypersonal/project
        type: customer
        uri: [email protected]
        credentials:
          pub_key: ~/.ssh/id_rsa.pub
          private_key: ~/.ssh/id_rsa

I'm not suggesting that this syntax is right, but something along these lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants