initRepo: Intialize a git repo for drat

Description Usage Arguments Details Value Author(s)

View source: R/initRepo.R

Description

This helper function create a new repository, creates and checks out ‘gh-pages’ branch and fills it with the required path.

Usage

1
initRepo(name = "drat", basepath = "~/git")

Arguments

name

A character variable with the name the new repository, the default is “drat”.

basepath

A character variable with path to the directory in which the new repository is to be created. The default value is “"~/git"”.

Details

Currently only ‘src/contrib’ for source repositories is supported.

This function is still undergoing development and polish and may change in subsequent versions.

Value

The function is invoked for its side-effects and only returns NULL invisibly.

Author(s)

Dirk Eddelbuettel


drat documentation built on Dec. 17, 2017, 9:10 a.m.