ExtTravisFile {biodb} | R Documentation

## Extension Travis YAML file generator class

### Description

A class for generating a .travis.yml file for a new extension package.

### Details

Write a .travis.yml file inside the package directory, using a template file.

### Super classes

`biodb::ExtGenerator` -> `biodb::ExtFileGenerator` -> `ExtTravisFile`

### Methods

#### Public methods

- `ExtTravisFile$new()`

- `ExtTravisFile$clone()`

Inherited methods

- `biodb::ExtGenerator$generate()`

- `biodb::ExtGenerator$upgrade()`

#### Method `new()`

Initializer.

##### Usage

    ExtTravisFile$new(...)

##### Arguments

`...`

  See the constructor of ExtFileGenerator for the parameters.

##### Returns

Nothing.

#### Method `clone()`

The objects of this class are cloneable with this method.

##### Usage

    ExtTravisFile$clone(deep = FALSE)

##### Arguments

`deep`

  Whether to make a deep clone.

### Examples

    # Generate a new package:
    pkgFolder <- file.path(tempfile(), 'biodbFoo')
    dir.create(pkgFolder, recursive=TRUE)
    biodb::ExtTravisFile$new(path=pkgFolder, email='myname@e.mail')$generate()

[Package biodb version 1.2.2 Index]