R安装_github:如何安装拉取请求?

rn0zuynd  于 2023-02-17  发布在  Git
关注(0)|答案(1)|浏览(135)

我想在R remotes::install_github()中使用来安装/测试来自GitHub的拉取请求,我该怎么做?我发现在older版本的install_github()中有一个pull参数,但是我找不到了?

qcuzuvrc

qcuzuvrc1#

现在(至少对于2023年2月的2.4.2版本)应该使用ref = remotes::github_pull(x)参数,其中x是您将在github上找到的pull请求编号。
全文如下:

remotes::install_github(repo=..., ref = remotes::github_pull(60))

相关问题