簡體   English   中英

如何從 artifactory remote repo 安裝 R 包並傳遞憑據

[英]how to install R packages from artifactory remote repo and pass credentials

我正在嘗試從 artifactory 安裝 R 包,我還需要進行身份驗證,但我不確定如何將憑據傳遞給 R 中的 install.packages:

以下是我嘗試過的方法,但它不起作用,但是當我嘗試使用 curl 查詢同一文件時,它起作用了:

install.packages('掃帚',repos="http://user:pass@artifactory-url:port/artifactory/cran/",method=curl,verbose="true")

輸出:

警告:無法訪問存儲庫的索引http://user:pass@artifactory-url:port/artifactory/cran/src/contrib :無法打開 URL ' http://user:pass@artifactory-url:port/artifactory/ cran/src/contrib/PACKAGES ' 警告消息:'broom' 包不可用(對於 R 版本 3.3.2)

Artifactory 不支持 R 包,歡迎您提出功能請求

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM