This helper function create a new repository, creates and checks out ‘gh-pages’ branch and fills it with the required path.
initRepo(name = "drat", basepath = "~/git")
A character variable with the name the new repository, the default is “drat”.
A character variable with path to the directory in which the new repository is to be created. The default value is “"~/git"”.
The function is invoked for its side-effects and only
returns NULL
invisibly.
Currently only ‘src/contrib’ for source repositories is supported.
This function is still undergoing development and polish and may change in subsequent versions.