Hi, I'm working on an app which contains a lot of code for making custom plots for which I am looking to export a reproducible script. Since the code is fairly complex, it is factored out into functions which are called by the renderPlot() function.
When I wrap the render call in metaRender() and the required ..() calls, I get a script which calls the custom function, but that function is not captured anywhere. I am aware that this might be outside of the scope of this package, but is there any way to capture the custom function without moving the code back inside a render or reactive function?
I have considered making my custom functions into a package, but that doesn't quite address my use case of allowing users to make tweaks to the plots where adding more options is not practical.
Hi, I'm working on an app which contains a lot of code for making custom plots for which I am looking to export a reproducible script. Since the code is fairly complex, it is factored out into functions which are called by the
renderPlot()
function.When I wrap the render call in
metaRender()
and the required..()
calls, I get a script which calls the custom function, but that function is not captured anywhere. I am aware that this might be outside of the scope of this package, but is there any way to capture the custom function without moving the code back inside a render or reactive function?I have considered making my custom functions into a package, but that doesn't quite address my use case of allowing users to make tweaks to the plots where adding more options is not practical.
Thanks Janion