template: template.

Description Usage Arguments Details Examples

Description

template.

Clone a template, change remote origin, push

Usage

1
template(template, dest, public = FALSE, ...)

Arguments

template

url to the template repository

dest

destination remote url

public

should the new GitHub repository be public or private?

...

additional arguments to git2r functions

Details

url can be any git address we can use to clone (e.g. https://, git@github.com:)

Examples

1
2
3
4
5
## Not run: 
template("https://github.com/cboettig/template",
         "https://gtihub.com/boettiger-lab/mypkg")

## End(Not run)

cboettig/template documentation built on May 13, 2019, 2:11 p.m.