You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to clone the repo and install different packages from the repo. I am trying to do so by using SSH keys.
I was able to do this before, I changed from R-4.1.3 to R-4.3.1 and installed the same R packages with corresponding version with renv package, I also tried installing the latest versions of packages.
The only difference I can see now is when running git2r::libgit2_features() I get the following,
I get this same issue moving from R 4.2.2 to 4.3.1. With a clean project and fresh install of git2r, I can use ssh in 4.2.2 and not 4.3.1. For completeness, my results for git2r::libgit2_features() and sessionInfo() are below.
I am trying to clone a private repo in R using Rstudio with git2r and I am getting the following error:
The credentials variable used in the function
git2r::clone()
is the following,creds <- try(git2r::cred_ssh_key(git2r::ssh_path("id_rsa.pub"), git2r::ssh_path("id_rsa")), silent = T)
I need to clone the repo and install different packages from the repo. I am trying to do so by using SSH keys.
I was able to do this before, I changed from R-4.1.3 to R-4.3.1 and installed the same R packages with corresponding version with renv package, I also tried installing the latest versions of packages.
The only difference I can see now is when running git2r::libgit2_features() I get the following,
In R-4.3.1 I get the following:
In R-4.1.3 I get the following:
Is there a way to change ssh to True. I am using Windows 10, found some examples of how to do this in Linux but not in windows.
If I switch back to the old version of R (R-4.1.3) I can clone the private repo without any issues.
Session info after successfully cloning private repo (R-4.1.3) and when getting error (R-4.3.1):
R-4.1.3 and R-4.3.1 (with same packages version)
R-4.1.3
R-4.3.1
Also Session Info with R-4.3.1 with latest version of packages:
R-4.3.1 (with latest packages)
The text was updated successfully, but these errors were encountered: