How to install R package from private repo using devtools install_github?

后端 未结 1 1034
庸人自扰
庸人自扰 2020-12-08 09:47

I am trying to install a sample package from my github repo: https://github.com/jpmarindiaz/samplepkg

I can install it when the repo is public using any

1条回答
  •  有刺的猬
    2020-12-08 10:16

    Have you tried setting a personal access token (PAT) and passing it along as the value of the auth_token argument of install_github()?

    See ?install_github way down at the bottom (Package devtools version 1.5.0.99).

    0 讨论(0)
提交回复
热议问题