| ExtTests | R Documentation |
A class for generating test files.
This class generates a test file for running biodb generic tests, and a test file containing an example of a custom test for this extension.
biodb::ExtGenerator -> ExtTests
new()Initializer.
ExtTests$new(...)
...See the constructor of ExtGenerator for the parameters.
Nothing.
clone()The objects of this class are cloneable with this method.
ExtTests$clone(deep = FALSE)
deepWhether to make a deep clone.
# Generate a new package:
pkgFolder <- file.path(tempfile(), 'biodbFoo')
dir.create(pkgFolder, recursive=TRUE)
biodb::ExtTests$new(path=pkgFolder, dbName='foo.db', rcpp=TRUE,
remote=TRUE)$generate()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.