2025-01-07 / Colin Fay / development, object-oriented, shiny

Setting values in R6 classes, and testing with shiny::MockShinySession

Context Recently, we worked on testing a {shiny} app that relies on values stored within the session$request object. This object is an environment that captures the details of the HTTP exchange between R and the browser. Without diving too deeply into the technicalities (as much as I’d love to 😅), it’s important to understand that session$request contains information provided by ...