drat (version 0.1.4)

initRepo: Intialize a git repo for drat

Description

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

Usage

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"”.

Value

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

Details

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

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