Description Usage Arguments Examples
View source: R/source-github.r
Package source: github
1 2 |
username |
This is the only parameter that must be specified, and for the recommended package structure on github it is the only parameter that should be specified |
repo |
The repo name - if ommited, the package name is used |
ref |
The branch/tag name to use - if omitted, will look in master, and in all appropriately named tags |
subdir |
If the package is not found in the root directory of the package this specifies where it should be found. |
auth_user |
If authentication is needed, and the
authentication username is different to the
|
password |
The password to use for authentication |
1 2 3 4 5 6 7 8 | h <- github("hadley")
has_package(h, "ggplot2")
has_package(h, "ggplot3")
package_info(h, "ggplot2")
w <- github("wch")
has_package(w, "extrafont")
has_package(c(h, w), "extrafont")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.