Captures all current UI inputs and reactive values into a serializable list
for saving via saveRDS(). Complementary to
restore_session_state.
Arguments
- input
The Shiny
inputobject from the current server session.- rv
A
reactiveValuesobject containing server-side state not bound to UI inputs.- uploaded_data
The
uploaded_datareactive. Wrapped intryCatchsoNULLis stored gracefully if no file is loaded.
Value
A named list containing version, saved_at, and
sublists model, data, dosing, sim,
psa, and variability.