Finds the URL for a GitHub page.
1 2 | get_github(package, fun = NULL, author = "cran", branch = "master",
cap_r = TRUE)
|
package |
character. The name of the R package (e.g., 'batbelt'). Can also be 'author/package' (e.g., 'peterhurford/batbelt'). |
fun |
character. The name of the function to open. Leave NULL to just get the URL for the package overall. |
author |
character. The GitHub username of the package. Defaults to finding packages via cran. |
branch |
character. The branch to look for. |
cap_r |
logical. TRUE if the file ends with a capital R, FALSE otherwise. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.