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


timtrice/drat documentation built on May 20, 2019, 10:23 p.m.