当前使用install_git()从受Azure Active Directory保护的存储库进行安装会导致错误:
> devtools::install_git("https://myteam.visualstudio.com/MyProject/_git/MyAwesomeRPackage")
Downloading git repo https://myteam.visualstudio.com/MyProject/_git/MyAwesomeRPackage
Installation failed: Error in 'git2r_clone': Unable to authenticate with supplied credentials即使AAD凭证存储在git凭证管理器中。例如,从命令行调用它的效果很好:
git clone https://myteam.visualstudio.com/MyProject/_git/MyAwesomeRPackage有没有办法让R使用来自git凭据管理器的凭据来进行此安装?
发布于 2019-04-26 05:41:48
尝试使用git参数,例如git = "external"。
https://stackoverflow.com/questions/55855352
复制相似问题