I'm trying to get a shiny app on R to work, i follow the steps (libraries needed to install on R from the tool tutorial), but the new shiny window that appears shows the message error: object '%AND%' not found. (the app is available on docker and when I pull it through docker it works but I need to work on R on my comp.) Does anyone have any advice what could be missing/ done to address that error?
the tool is metaOmics https://github.com/metaOmics/metaOmics in case someone has experienced it in specific
Thank you,
I found this message on the issue section of another app (statOmics):
Apparently the shiny:::%AND% function was removed from the shiny package while MSqRob was depending on it.
I have re-introduced this function, everything should now work again.
Please try reinstalling MSqRob via
devtools::install_github("statOmics/MSqRob@MSqRob0.7.7")
I am not sure what is the relationship between statOmics and metaOmics, but you can try to re-define %AND% yourself.
# deprecated definition
`%AND%` <- function(x, y) {
if (!is.null(x) && !isTRUE(is.na(x)))
if (!is.null(y) && !isTRUE(is.na(y)))
return(y)
return(NULL)
}
Compare R versions maybe? First step would be to find which package exports the
%AND%
operator.There is a git issue open about this message. If you look at the code, the only reference to
%AND%
is inside directoryInput.R:The shiny code doesn't seems to contain any
%AND%
.Good catch on the usage! OP should add their experience on that git issue - that issue looks woefully under-detailed.