This function is primariy meant to be called within the frunGadget framework. We attempt to find all "reactive"-like components and covert them into their "inert" versions so that they can be used in the context of an ongoing analysis outside of the shiny world. This is an important function, but it is purposefully not exported.

unreact(x, ...)

Arguments

x

stuff and things

Value

a version of x with an "inert" versions of internal facile-components (primariy FacileDataStore) wherever they may be.

Details

We are primariy concerned about replacing the ReactiveFacileDataStore that is stashed within facile components (facile_frames) (set and retrieved with the set_fds() and fds() setters and getters), with their inner FacileDataStore

This function needs to be called within the gadget, ie. I'm pretty sure it needs to fire in a reactive environment, which you get in the observeEvent(intput$done, { ... }) expression.

NOTE: I don't want to export this function, or its class-speficic implementation, but when this package is library()/loaded, and one of its functions calls it inernally, for some reason the unreact.default function isn't found ...