Describe the bug
The bug is about the parameter sourceName (_String name of the data source name. If blank, CDMSOURCE table will be queried to try to obtain this).
If sourceName is not given as parameter to the CatalogueExport::catalogueExport() function, .getSourceName is called to retrieve its value but the value it returns is not set to a variable so sourceName remains empty.
https://github.com/EHDEN/CatalogueExport/blob/a7cdbd86e916e43ba1b67714236fc1eaf57b6320/R/CatalogueExport.R#L145
To Reproduce
Call CatalogueExport::catalogueExport() function without sourceName parameter
Expected behavior
if (missing(sourceName) & !sqlOnly) {
sourceName <- .getSourceName(connectionDetails, cdmDatabaseSchema)
}
Describe the bug The bug is about the parameter sourceName (_String name of the data source name. If blank, CDMSOURCE table will be queried to try to obtain this). If sourceName is not given as parameter to the CatalogueExport::catalogueExport() function, .getSourceName is called to retrieve its value but the value it returns is not set to a variable so sourceName remains empty. https://github.com/EHDEN/CatalogueExport/blob/a7cdbd86e916e43ba1b67714236fc1eaf57b6320/R/CatalogueExport.R#L145
To Reproduce Call CatalogueExport::catalogueExport() function without sourceName parameter
Expected behavior