This PR closes #85 and #88 by adding caching in the Shiny app, which most users will use. One downside with caching bootstrapped results, is that this masks the inherent stochastic nature of the bootstrap, as values will stay the same for each model. I've therefore added a way to clear the cache by setting a random cache key that the bindCache() function depends on.
I need a second opinion on the implementation before I finish this PR and (possible) extend the caching technique to other model reactive as well.
This PR closes #85 and #88 by adding caching in the Shiny app, which most users will use. One downside with caching bootstrapped results, is that this masks the inherent stochastic nature of the bootstrap, as values will stay the same for each model. I've therefore added a way to clear the cache by setting a random cache key that the
bindCache()
function depends on.I need a second opinion on the implementation before I finish this PR and (possible) extend the caching technique to other model reactive as well.