I would like to use Hadley Wickam's
devtools::install_github("s-u/PKI") # needed for bug fixes not currently on CRAN
Error: No key matches id_rsa
Error: No key matches
It looks like
local_key is assuming your key is stored in ~/.ssh (which is a reasonable assumption). By default it assumes that the file is named id_rsa.pub so if you've renamed it then you'll need to pass the name into local_key.
I haven't used this package but always remember those wise words "Hack-R view the source"