Transferring a repo containing an R package

I need to transfer a repo containing an R package I created to a new owner, as I’m leaving the larger project this package was created for.

Say I’m transferring my package “package” to johndoe, does anyone know if when someone uses the command

install_github(“amandfaig/package”)

in R, if it will still work, and know to download the package from “johndoe/package”? Is there anything I can do to make that happen?

Thanks