Schema is set by emld_db. emld-package.R declares .onLoad setting this to 2.1.1 currently:
options("emld_db" = "eml-2.1.1")
Functions are set to default to 2.2.0 if the option is not set, so deleting the .onLoad() function will be sufficient to switch the default once 2.2.0 is released. Meanwhile, best default to the 2.1.1 schema.
refactor to support EML 2.2.0 schema
Note
Schema is set by
emld_db
.emld-package.R
declares.onLoad
setting this to2.1.1
currently:Functions are set to default to 2.2.0 if the option is not set, so deleting the
.onLoad()
function will be sufficient to switch the default once 2.2.0 is released. Meanwhile, best default to the 2.1.1 schema.