Hi,
I would like to overload/extend the reactive function. The idea is to put some standard information like time consumption, debugging output inside that new function that allows me to better track what is going on.
Right now I am reproducing for each reactive I am creating things like
start.time <- base::Sys.time()
if (is.null(variable)) {
if (DEBUG) {
cat(file = stderr(), "inputData: NULL\n")
}
return(NULL)
}
...
printTimeEnd(start.time, "inputData")
exportTestValues(inputData = {list(assays(retVal$scEx)[["counts"]], rowData(retVal$scEx), colData(retVal$scEx)) })
Here, only the ... part is really changing and I wanted to use a list of reactive dependencies to that function and a name to be substituted...
Thanks
B