In R 4.2, if() with a condition of length greater than one results in an error. As such, calling tiledb_config() with a vector of length greater than one will error out
> tiledb_config(c(sm.consolidation.amplification = '1.1', sm.mem.reader.sparse_global_order.ratio_array_data = '0.3'))
Error in if (!is.na(config)) { : the condition has length > 1