Line 114 in createEventPairsTable.R: dbUsername=connection@jConnection$getUserName()
produces an error:
Error in lapply(list(...), function(x) { :
no slot of name "jConnection" for this object of class "DatabaseConnectorDbiConnection"
Although the connection object is created by DatabaseConnector::connect() method, the resulting object depends on the database engine and may differ for different drivers.
However, the database user name is not needed in this createEventPairsTable() anyways. Therefore, just remove this dbUsername parameter from the code.
@solis9753 reported an error while using SQLite:
Line 114 in createEventPairsTable.R:
dbUsername=connection@jConnection$getUserName()
produces an error:
Although the connection object is created by DatabaseConnector::connect() method, the resulting object depends on the database engine and may differ for different drivers.
However, the database user name is not needed in this createEventPairsTable() anyways. Therefore, just remove this dbUsername parameter from the code.