What's the replacement for Shiny:::'%OR%'

This used to work in Shiny::validate
%then% <- shiny:::%OR%

It just suddenly not working any more after updating packages. What's the update and replacement for a sequencial validatioin, need(a) %then% need(b) ?

if you want to use that old internal function you can define it for yourself.

function (x, y) 
{
    if (is.null(x) || isTRUE(is.na(x))) 
        y
    else x
}

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.