我正在 RStudio 中使用 R 创建一些内部包。我的存储库托管在 Azure DevOps 中。我看到了,renv.lock
并且有一个存储库部分。
{
"R": {
"Version": "3.6.1",
"Repositories": [
{
"Name": "CRAN",
"URL": "https://cran.rstudio.com"
}
]
},
"Packages": {
"BH": {
"Package": "BH",
"Version": "1.69.0-1",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "0fde015f5153e51df44981da0767f522"
},
"KernSmooth": {
"Package": "KernSmooth",
"Version": "2.23-16",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "a531dc333440009ee13bbb507232476d"
}
}
我的组件位于类似的网址中
https://dev.azure.com/mycompany/RComponents/_git/mycomponent
有没有办法在这里添加我的私人存储库?如何从 Azure DevOps 安装 R 包?