I'm trying to to install R packages from artifactory and also i need to authenticate but im not sure how i can pass credentials to the install.packages in R:
the below is what i tried but it doesnt work, however when i tried to use curl to query for the same file it works:
install.packages('broom',repos="http://user:pass@artifactory-url:port/artifactory/cran/",method=curl,verbose="true")
output:
Warning: unable to access index for repository http://user:pass@artifactory-url:port/artifactory/cran/src/contrib : cannot open URL ' http://user:pass@artifactory-url:port/artifactory/cran/src/contrib/PACKAGES ' Warning message: package 'broom' is not available (for R version 3.3.2)
Artifactory does not support R Packages, you're more then welcome to suggest a feature request
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.