create_from_github()
should wait a few seconds before trying to clone after forking
#1755
Labels
git
git, GitHub, and CI in general
I consistently get this issue when I use
create_from_github()
the first time.It always works the second time.
I asked Jeroen and he said it takes a few seconds for a new repo to become clonable.
He pauses for 10 seconds in r-universe code here:
https://github.com/r-universe-org/setup-universes/blob/712f956acd73f878a0df0a4c8e0cb657019831e5/R/setup.R#L94-L100
I vote we do something similar, maybe pausing for 5 seconds and seeing if that is enough? Probably would be good to also notify the user that we are pausing for a second to let the repo become clonable.
The text was updated successfully, but these errors were encountered: