Jug is a small web development framework for R which relies heavily upon the httpuv
package. It’s main focus is to make building APIs for your code as easy as possible.
Jug is not supposed to be either an especially performant nor an uber stable web framework. Other tools (and languages) might be more suited for that. It focuses on maximizing the ease with wich you can create web APIs for your R code. However, the flexibility of Jug means that, in theory, you could built an extensive web framework with it.
See http://bart6114.github.io/jug for the development vignette version.
Plugins:
- Ability to specify
auto-unbox
value for json responses - Added
strict_params
argument todecorate
- Added basic authentication functionality through
auth_basic
- Fixed bug where missing content type would not auto-parse the query string
- Refactor request header processing
- Added CORS functionality
- Possible to specify
method
foruse
middleware - Refactoring of request param parsing
- New error handling middleware (JSON response)
- Additional / refined testing