I'm writing some input bindings in Shiny, and want to build my functions into a package. The problem now is input bindings requires javascript code which is usually located in the www
directory in the application directory, so the user need to copy the javascript file into his/her www
every application he/she requires the package and use the input bindings.
And I want when the user of this package require()
ed this package, the corresponding input binding jQuery definitions are automatically loaded with the app just as the native binding definitions are. Or does anyone knows other solutions for this situation.