| ExtReadme {biodb} | R Documentation |
A class for generating a README file for a new extension package.
Write a README file inside package directory, using a template file.
biodb::ExtGenerator -> biodb::ExtFileGenerator -> ExtReadme
new()Initializer.
ExtReadme$new(...)
...See the constructor of ExtFileGenerator for the parameters.
Nothing.
clone()The objects of this class are cloneable with this method.
ExtReadme$clone(deep = FALSE)
deepWhether to make a deep clone.
# Generate a new package:
pkgFolder <- file.path(tempfile(), 'biodbFoo')
dir.create(pkgFolder, recursive=TRUE)
biodb::ExtReadme$new(path=pkgFolder, dbName='foo.db',
dbTitle='Foo database')$generate()