I'd love to replace my clunky, organically grown reverse dependency checking machinery with devtools's version ... however, when I try to run revdep_check()
on a local copy of the lme4
package I get "Unknown Github repo format" when it tries to run
devtools:::remote_metadata(as.package("lme4"))
to retrieve the dependency information.
I traced this as far as github_remote parse
, where x
is equal to ssh://[email protected]/lme4/lme4
--
the function is looking for https://
or git://
URLs, and if it can't find them it fails ... maybe ssh://
is an old format ... ?
OK, I fixed this via git remote set-url origin [email protected]:lme4/lme4.git
. Might be worth adding the older format to the list of possible cases, if it isn't just something wonky that happens to work for me?
Feel free to close this (I'll leave it open for now)
Yeah, I think ssh is an older format.
For people arriving here trying to track down this error message - I fixed by switching the repo's git remote origin
from http to https:
$ git remote set-url origin https://github.com/jsta/foo.git
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/
Most helpful comment
For people arriving here trying to track down this error message - I fixed by switching the repo's
git remote origin
from http to https: