ExtVignette | R Documentation |
A class for generating a vignette example for an extension package.
This class generates a vignette file, serving as example to demonstrate the use of the extension package.
biodb::ExtGenerator
-> biodb::ExtFileGenerator
-> ExtVignette
new()
Initializer.
ExtVignette$new(...)
...
See the constructor of ExtFileGenerator for the parameters.
Nothing.
clone()
The objects of this class are cloneable with this method.
ExtVignette$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Generate a new package: pkgFolder <- file.path(tempfile(), 'biodbFoo') dir.create(pkgFolder, recursive=TRUE) biodb::ExtVignette$new(path=pkgFolder, dbName='foo.db', dbTitle='Foo database', vignetteName='main', firstname='John', lastname='Smith', remote=TRUE)$generate()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.