getReposName {biodb} | R Documentation

## Extract the repository name from a package folder.

### Description

Given the root path of a package, returns the GitHub repository name.

### Usage

    getReposName(pkgRoot, default = NULL)

### Arguments

`pkgRoot` | The path to the root folder of the package.
`default` | A default value to return in case git4r package is not available or the folder is not a Git repository.

### Value

The repository name.

### Examples

    biodb::getReposName('/my/path/to/my/extension/biodbFoo')

[Package biodb version 1.2.2 Index]