Method new()
Initializer for Repository class
Usage
Repository$new(path)
Arguments
path
(character)
Path to R package project
Method getName()
Get method for name.
Usage
Repository$getName()
Method getPath()
Get method fro path
Usage
Repository$getPath()
Returns
(character)
Path to Repository folder
Method getFiles()
Get method to get a list of File objects.
Usage
Repository$getFiles()
Returns
(list)
List of File objects.
Method getRFiles()
Get method to get only R-files.
Usage
Repository$getRFiles()
Returns
(list)
List of File objects.
Method getDescription()
Get method to get the description of the package. See: description.
Usage
Repository$getDescription()
Method getFunctionUse()
Get method for functionUse, will check if functionUse has already been
fetched or not.
Usage
Repository$getFunctionUse()
Method gitCheckout()
Method to run 'git checkout <branch/commit hash>'
Usage
Repository$gitCheckout(branch, ...)
Arguments
branch
(character)
Name of branch or a hash referencing a specific commit.
...
Further parameters for checkout.
Method gitPull()
Method to run 'git pull'
Usage
Repository$gitPull(...)
Arguments
...
Further parameters for pull.
Method gitBlame()
Method to fetch data generated by 'git blame'.
Usage
Repository$gitBlame()
Method clone()
The objects of this class are cloneable with this method.
Usage
Repository$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.