| ExtPackageFile | R Documentation |
A class for generating the package.R file for a biodb extension.
This class generates the package.R file, writing a reference to the generated skeleton vignette, and possibly including directives for C++ code.
biodb::ExtGenerator -> biodb::ExtFileGenerator -> ExtPackageFile
new()Initializer.
ExtPackageFile$new(...)
...See the constructor of ExtFileGenerator for the parameters.
Nothing.
clone()The objects of this class are cloneable with this method.
ExtPackageFile$clone(deep = FALSE)
deepWhether to make a deep clone.
# Generate a new package: pkgFolder <- file.path(tempfile(), 'biodbFoo') dir.create(pkgFolder, recursive=TRUE) biodb::ExtPackageFile$new(path=pkgFolder, dbName='foo.db')$generate()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.