shinyobjects
shinyobjects copied to clipboard
load reactive objects into global environment
Can be one of the following, may or may not have `library(shiny)` and object assignments ```r # assigned server
related to https://github.com/rjake/shinyobjects/pull/45/commits/c6f914e271857e80bb1361ec5f3f9c986f011aad see ideas here https://www.andrewheiss.com/blog/2016/12/08/save-base-graphics-as-pseudo-objects-in-r/
Was using this code in https://github.com/rjake/shinyobjects/pull/41/commits/71aca771cfac04b6c2af423b8693adeb4bae3550 but it threw a warning in `devtools::check()` ```r # add library(shiny) if not included if (!any(grepl("library\\(shiny\\)", final_code))) { final_code
Ex. `session$user`, `session$clientData$url_host_name` should prompt: ```r session % str_replace_all(",", ",\n") ) ```
Split into `convert_reactive_objects()` and `load_script()`