When running the catalogueExport() function in a "clean" R environment, the function fails with the error
Error in SqlRender::loadRenderTranslateSql(sqlFilename = file.path("analyses", :
object 'vocabDatabaseSchema' not found
Looking at the parameter list for .getAnalysisSql(), there is no parameter vocabDatabaseSchema. However, within the .getAnalysisSql() function, a call is made to SqlRender::loadRenderTranslateSql(), in which the (missing) parameter vocabDatabaseSchema is attempted passed.
If the vocabDatabaseSchema is declared as a global variable, the package runs.
When running the catalogueExport() function in a "clean" R environment, the function fails with the error
Looking at the parameter list for
.getAnalysisSql()
, there is no parametervocabDatabaseSchema
. However, within the.getAnalysisSql()
function, a call is made toSqlRender::loadRenderTranslateSql()
, in which the (missing) parametervocabDatabaseSchema
is attempted passed.If the
vocabDatabaseSchema
is declared as a global variable, the package runs.