ExtMakefile {biodb} | R Documentation

## Extension Makefile

### Description

A class for generating a Makefile for an extension package.

### Details

This class generates a Makefile, usable on UNIX-like platforms, for managing a biodb extension package. Targets are automatically generated for running CRAN check, Bioconductor check, testthat tests, compiling, generating documentation, cleaning, etc.

### Super class

`biodb::ExtGenerator` -> `ExtMakefile`

### Methods

#### Public methods

- `ExtMakefile$new()`

- `ExtMakefile$clone()`

Inherited methods

- `biodb::ExtGenerator$generate()`

- `biodb::ExtGenerator$upgrade()`

#### Method `new()`

Initializer.

##### Usage

    ExtMakefile$new(...)

##### Arguments

`...`

  See the constructor of ExtGenerator for the parameters.

##### Returns

Nothing.

#### Method `clone()`

The objects of this class are cloneable with this method.

##### Usage

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

[Package biodb version 1.2.2 Index]