• Stars
    star
    149
  • Rank 248,619 (Top 5 %)
  • Language
    R
  • License
    Other
  • Created about 9 years ago
  • Updated about 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

jug: A Simple Web Framework for R

Build Status codecov CRAN_Status_Badge Downloads

jug: A Simple Web Framework for R

jug

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 which 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.

Check out http://bart6114.github.io/jug/articles/jug.html for the vignette documentation.

Plugins:

Changes

v0.1.7.902

  • Introduction of events and event listeners (check e.g. the on function)
  • Introduction of the logger, a predefined event listener based on futile.logger
  • Enabled ByteCompile on installation

v0.1.7.901

  • Adjustment to serve_static_files: add pdf to binary types

v0.1.7.900

  • Adjustment to serve_static_files: removed link between path and file served

v0.1.7

  • Fixed CORS preflight request bug (issue #15)
  • Fixed masking of base::get

v0.1.6

  • Ability to specify auto-unbox value for json responses
  • Added strict_params argument to decorate

v0.1.5

  • Added basic authentication functionality through auth_basic

v0.1.4

  • Fixed bug where missing content type would not auto-parse the query string

v0.1.3

  • Refactor request header processing
  • Added CORS functionality
  • Possible to specify method for use middleware
  • Refactoring of request param parsing
  • New error handling middleware (JSON response)
  • Additional / refined testing