ExtPackageFile: Extension package file class.

ExtPackageFileR Documentation

Extension package file class.

Description

A class for generating the package.R file for a biodb extension.

Details

This class generates the package.R file, writing a reference to the generated skeleton vignette, and possibly including directives for C++ code.

Super classes

biodb::ExtGenerator -> biodb::ExtFileGenerator -> ExtPackageFile

Methods

Public methods

Inherited methods

Method new()

Initializer.

Usage
ExtPackageFile$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
ExtPackageFile$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::ExtPackageFile$new(path=pkgFolder, dbName='foo.db')$generate()


pkrog/biodb documentation built on Nov. 29, 2022, 4:24 a.m.