| ExtDescriptionFile | R Documentation |
A class for generating a DESCRIPTION file for an extension package.
This class generates a DESCRIPTION for a biodb extension package.
biodb::ExtGenerator -> biodb::ExtFileGenerator -> ExtDescriptionFile
new()Initializer.
ExtDescriptionFile$new(...)
...See the constructor of ExtFileGenerator for the parameters.
Nothing.
clone()The objects of this class are cloneable with this method.
ExtDescriptionFile$clone(deep = FALSE)
deepWhether to make a deep clone.
# Generate the DESCRIPTION file:
pkgFolder <- file.path(tempfile(), 'biodbFoo')
dir.create(pkgFolder, recursive=TRUE)
biodb::ExtDescriptionFile$new(path=pkgFolder, dbName='foo.db',
dbTitle='Foo database', email='j.smith@e.mail',
firstname='John', lastname='Smith', rcpp=TRUE,
entryType='xml')$generate()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.