Description Usage Arguments Details Value Author(s)
Creates a new project and pushes it to GitHub
1 2 3 | createRepo(name, path, data, packages = c("here", "knitr", "rmarkdown",
"tidyverse", "usethis"), user, organizer = user, token = "GITHUB_PAT",
readme, ssh = TRUE)
|
name |
Name to use for project and repo |
path |
Location for the new project |
data |
data.frame listing data sources. Must have at least the following columns: Local (the name the file should be on disk after downloaded), Remote (the URL of the file), Mode (the way to write to disk, either 'w' or 'wb'). |
packages |
Vector of packages that the user will be instructed to install. |
user |
GitHub username |
organizer |
Name of organizer of class. This can be in the form a a Markdown-style link. |
token |
The name of the environment variable holding the GitHub access token. This can be set with |
readme |
Path to parameterized rmarkdown document with parameters |
ssh |
If |
This is designed to make a bare repo to be used for workshops. It will create a new project with a customized README and customized download file. It then pushes this to GitHub.
If all operations are successful, returns TRUE
Jared P. Lander
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.