Some table outputs throw an error in red and are put in an error state if they are empty (versus native tables that display a “no data” message). In this case, all of the dependencies of the table output (in this case an autofit table) will also show as in an error state and the cached previous results are shown. The user wanted the table that was dependent to be blank or show an error message rather than showing the cached results. In order to do this, you need to edit the R code of the first table to use tryCatch() and suppress the “ERROR” and then edit the second table’s R CODE (which errors because the first table is empty) with the same function so that both tables just return blank/a custom error message if they’re in error.
Would be great if there could be a checkbox which would suppress the error _state_ of the output if desired so further error handling could be done down further in the dependency chain.