Skip to contents

This function initializes the SQLite database using the base version.

Usage

initialize_database_with_base_version(con, pkgname, base_version = "1.0.0")

Arguments

con

Connection to the new temporary SQLite database.

pkgname

Name of the package containing the database upgrade scripts.

db_versions

Vector of available database versions.

Value

None (primarily called for side effects).

Examples

if (FALSE) { # \dontrun{
  initialize_database_with_base_version(tempfile(), "my_package", c("1.0.0", "2.0.0"))
} # }