On running my Shiny App script (app.R), I am getting the following error: Error in validateCssUnit(width) :
CSS units must be a single-element numeric or character vector. The error appears to be in the following two lines:
dblclickOpts = (id = "plot_dblclick"),
brushOpts(id="plot_brush", resetOnNew = TRUE)
The error goes away when I replace id = "plot_dblclcik" with just "plot_dblclick" without the brackets. But I cannot do the same with brushOpts as it has two arguments.