Closed jorainer closed 3 years ago
Actually, thinking it over I don't like the idea anymore - this would add DBI
as a required R package, while the Spectra
package itself does not contain any SQL-related functionality. So, no I don't want that constructor to be present in Spectra
.
Maybe a
Spectra
constructor forobject = "DBIConnection"
might be helpful?i.e. that takes a database connection as input and calls the
backendInitialize
method on the provided backend passing that argument as parameter to it.Would this also work for your backend @plantton?