ExtRbuildignore {biodb} | R Documentation

## Extension Rbuildignore file class

### Description

A class for generating the .Rbuildignore file of an extension package.

### Details

This class can be used to generate a new .Rbuildignore file or to keep one up to date.

### Super classes

`biodb::ExtGenerator` -> `biodb::ExtFileGenerator` -> `ExtRbuildignore`

### Methods

#### Public methods

- `ExtRbuildignore$new()`

- `ExtRbuildignore$clone()`

Inherited methods

- `biodb::ExtGenerator$generate()`

- `biodb::ExtGenerator$upgrade()`

#### Method `new()`

Constructor

##### Usage

    ExtRbuildignore$new(...)

##### Arguments

`...`

  See the constructor of ExtFileGenerator for the parameters.

##### Returns

A new instance.

#### Method `clone()`

The objects of this class are cloneable with this method.

##### Usage

    ExtRbuildignore$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::ExtRbuildignore$new(path=pkgFolder)$generate()

[Package biodb version 1.0.4 Index]