github_readme_url.Rd
This functions checks, if URL is not a link to the raw Github README.md file. If doesn't, it extracts user and repo names from the URL and then fetches README.md URL using Github API v3.
github_readme_url(url)
url | Github repo URL |
---|
Dowload URL to README.md
github_readme_url("https://github.com/qinwf/awesome-r/")#> [1] "https://raw.githubusercontent.com/qinwf/awesome-R/master/README.md"