Converts Github path/repo/file information into a link to the raw version of the file

github_raw(file, repo = NULL)

Arguments

file

Name of desired file; if repo is NULL, then this value should also provide repo information, i.e., owner and name of the repository–e.g., "owner/repo/file.ext". Alternatively, user may supply the URL to the file as it appears in a web browser, e.g., "https://github.com/mkearney/driven-snow/blob/master/theme/driven-snow.rstheme"

repo

Repository name information formatted as username/repo. If this information is provided in the value supplied to file then leave this as NULL (the default)

Value

Returns the URL path to the raw version of the file.