When launching the app, you might have noticed that the
dev/run_dev.R function calls
run_app(), which has the following structure:
This function might looks a little bit weird, but there’s a long story behing it, and you can read more about it there.
But long story short, this combination of
golem_opts = list(...) allows you to pass argument to the function to be used inside the application, from UI or from server side, which you can get with
The idea is to provide more flexibility for deployment on each platform you want to run your app on.
dev/03_deploy.R file contains function for deploying on various plateforms.