Is database writable
Source:R/generics.R
, R/annotation_database_class.R
, R/rdata_database_class.R
is_writable.Rd
A function that returns TRUE if the database has been designed for use in read and write mode.
Usage
is_writable(obj, ...)
# S4 method for class 'annotation_database'
is_writable(obj)
# S4 method for class 'rdata_database'
is_writable(obj)
Value
TRUE if the database is writable; FALSE otherwise. This method does not check file properties, only the intended usage of the object.
Examples
M <- annotation_database()
is_writable(M)
#> [1] FALSE