相关疑难解决方法(0)

如何安装R包github存储库的开发版本

如何直接从github存储库安装正在开发的软件包,一旦安装,如何在开发和CRAN版本之间切换?

我有兴趣从git安装的特定包是ggplot2.

r github ggplot2

62
推荐指数
2
解决办法
4万
查看次数

devtools :: install_git通过SSH

我写了一个R包,我保存在SSH服务器上的(裸)git存储库中,我希望能够在本地机器上安装它,而无需手动克隆存储库.

我尝试过以下方法:

devtools::install_git("ssh://user_name@remote/path/to/repository")
Run Code Online (Sandbox Code Playgroud)

但我得到了错误

    Downloading git repo ssh://user_name@remote/path/to/repository
    Error in git2r::clone(x$url, bundle, progress = FALSE) : 
    Error in 'git2r_clone': Failed to start SSH session: Unable to exchange encryption keys
Run Code Online (Sandbox Code Playgroud)

我在Windows 7机器上,使用R 3.1.2,git2r版本0.11.0和devtools版本1.9.1.任何帮助将不胜感激.谢谢!

git ssh r devtools

10
推荐指数
1
解决办法
3391
查看次数

从Atlassian Stash安装R包

我制作了一个R包,它托管在我雇主的Atlassian Stash实例上.我一直在告诉其他用户克隆repo然后devtools::install("<path-to-repo>")用来安装软件包.

如何在克隆存储库的情况下让用户安装软件包?我可以在没有托管代码更容易访问的情况下执行此操作吗?

git r devtools bitbucket-server

4
推荐指数
1
解决办法
564
查看次数

标签 统计

r ×3

devtools ×2

git ×2

bitbucket-server ×1

ggplot2 ×1

github ×1

ssh ×1