githubURLParts {BiocPkgTools} | R Documentation |
Extract GitHub user and repo name from GitHub URL
githubURLParts(urls)
urls |
A |
A data.frame
with four columns:
urlThe original GitHub URL
user_repoThe GitHub "username/repo", combined
userThe GitHub username
repoThe GitHub repo name
# find GitHub URL details for # Bioconductor packages bpkgl = biocPkgList() urldetails = githubURLParts(bpkgl$URL) urldetails = urldetails[!is.na(urldetails$url),] head(urldetails)