Currently using install_git()
to install from a repo protected by Azure Active Directory results in an error:
> 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
even though the AAD credentials are stored in the git credential manager. For example, calling this from the command line works just fine:
git clone https://myteam.visualstudio.com/MyProject/_git/MyAwesomeRPackage
is there any way to have R use the credentials from the git credential manager for this install?
尝试git
参数,例如, git = "external"
。
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.