A cdm object can optionally contain a single schema in a database with write access. assert_write_schema checks that the cdm contains the "write_schema" attribute and tests that local dataframes can be written to tables in this schema.
assert_write_schema(cdm, add = NULL)assertWriteSchema(cdm, add = NULL)
Invisibly returns the cdm object
A cdm object
An optional AssertCollection created by
checkmate::makeAssertCollection()
that errors should be added to.