企业github帐户的Drat R软件包管理器

时间:2019-02-21 19:24:23

标签: r cran drat

我在我的drat项目中创建的git repo如下。

https://git.companyname.com/repo/mydrat 当我将代码推送到github仓库时,我使用本地存储的ssh密钥。

我应该如何使用以下命令从我的公司git仓库中推送或安装软件包:

insertPackage("myPkg_0.5.tar.gz", "https://git.companyname.com/repo/mydrat")
install.packages("myPkg_0.5", repos="https://git.companyname.com/repo/mydrat", type="source")

当我使用上述命令时,R无法找到git repo。

0 个答案:

没有答案