R/github.R
github_repo.Rd
Get Short GitHub Repo Name
github_repo(repo)
The URL of the repository (in the format "username/repo" or "https://github.com/username/repo")
character string of short repo name
github_repo("scienceverse/papercheck") #> [1] "scienceverse/papercheck" github_repo("https://github.com/scienceverse/papercheck/") #> [1] "scienceverse/papercheck" github_repo("https://github.com/scienceverse/papercheck.git") #> [1] "scienceverse/papercheck"