| ExtDefinitions | R Documentation |
A class for generating the definitions.yml file of a new extension package.
This class generates the definitions.yml of a new extension package, needed for definining the new connector.
biodb::ExtGenerator -> biodb::ExtFileGenerator -> ExtDefinitions
new()Initializer.
ExtDefinitions$new(...)
...See the constructor of ExtFileGenerator for the parameters. offers this possiblity.
Nothing.
clone()The objects of this class are cloneable with this method.
ExtDefinitions$clone(deep = FALSE)
deepWhether to make a deep clone.
# Generate the biodb definitions.yml file inside "inst" folder:
pkgFolder <- file.path(tempfile(), 'biodbFoo')
dir.create(pkgFolder, recursive=TRUE)
biodb::ExtDefinitions$new(path=pkgFolder, dbName='foo.db',
dbTitle='Foo database')$generate()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.