You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am trying to install locally an R package that stored is in my BitBucket repository via:
remotes::install_git("ssh://git@bitbucket.org/myrepo/mypackage.git", credentials = git2r::cred_ssh_key(".../.ssh/id_rsa.pub", ".../.ssh/id_rsa"))
The download of the repo starts and the following message is printed in the RStudio console:
Downloading git repo ssh://git@bitbucket.org/myrepo/mypackage.git
Nevertheless, after a while the following error occurs:
Error: Failed to install 'unknown package' from Git:
Error in 'git2r_remote_ls': error authenticating: unable to connect to agent pipe
If I try to install another package from the same repo, I get no error.
Any idea on how to solve this issue?