Some of the template apps use packages that are not explicit dependencies of shinyuieditor and if those apps are chosen then the user gets a confusing crash.
There are three possible solutions i can think of:
Add library checks to the templates themselves (kindof ugly and weighs down the template code)
Add check for the libraries before generating template. (Not totally sure where in the user-flow this would go)
Adding all packages used as strict dependencies of shinyuieditor. This is heavy handed but the safest...
Some of the template apps use packages that are not explicit dependencies of
shinyuieditor
and if those apps are chosen then the user gets a confusing crash.There are three possible solutions i can think of:
shinyuieditor
. This is heavy handed but the safest...