Open latot opened 8 months ago
It is very possible that remotes sends the same credentials for all repositories, which is certainly not great. In any case, we are focusing on pak, so if you can use pak, that's a great workaround.
will pak replace remotes? I'm thinking that devtools uses remotes instead of pak.
Yes, devtools will use pak in the near future.
Hi, this might be similar to https://github.com/r-lib/remotes/issues/758, also the
pak
library works for this case, but is ideal to work here too.Rn using
usethis
we can use git credentials: https://stackoverflow.com/a/71846333/4652030Still not the ideal case thinking we could use the actual git credentials instead register two in the same system, but still following that we have two credentials on the system to download private repos.
After following the steps, we can install the private repo, the problem is that when the project has a private dependency, if this is the case we will not be able to install the package with:
So seems the
usethis
git credentials are picked for the main project, but not parsed to the deps.Thx!