ExtLicense {biodb} | R Documentation

## Extension license

### Description

A class for generating or upgrading the license of a biodb extension package.

### Details

This class generates the license for a new extension package, or update the license of an existing one.

### Super classes

`biodb::ExtGenerator` -> `biodb::ExtFileGenerator` -> `ExtLicense`

### Methods

#### Public methods

- `ExtLicense$new()`

- `ExtLicense$clone()`

Inherited methods

- `biodb::ExtGenerator$generate()`

- `biodb::ExtGenerator$upgrade()`

#### Method `new()`

Initializer.

##### Usage

    ExtLicense$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

    ExtLicense$clone(deep = FALSE)

##### Arguments

`deep`

  Whether to make a deep clone.

### Examples

    # Generate a new connector class inside R folder:
    pkgFolder <- file.path(tempfile(), 'biodbFoo')
    dir.create(pkgFolder, recursive=TRUE)
    biodb::ExtLicense$new(path=pkgFolder)$generate()

[Package biodb version 1.2.2 Index]