0

在 GitLab 上,我从具有许多功能的包 (Rstudio) 的主分支构建了一个分支。我可以通过 install_git(),install_gitlab() 使用 master 分支中的代码。但是,我如何才能访问非 master 分支中的包?我应该在代码中写什么?

4

1 回答 1

0

对于devtools::install_github,您可以使用repo具有以下语法的参数:username/repo[/subdir][@ref|#pull],根据文档

于 2021-08-23T15:11:02.467 回答