Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bart6114/jug
jug: A Simple Web Framework for R
https://github.com/bart6114/jug
Last synced: 9 days ago
JSON representation
jug: A Simple Web Framework for R
- Host: GitHub
- URL: https://github.com/bart6114/jug
- Owner: bart6114
- License: other
- Created: 2015-09-29T16:17:14.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-31T13:08:05.000Z (over 6 years ago)
- Last Synced: 2024-08-13T07:14:20.380Z (4 months ago)
- Language: R
- Homepage: http://bart6114.github.io/jug
- Size: 370 KB
- Stars: 149
- Watchers: 17
- Forks: 22
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - bart6114/jug - jug: A Simple Web Framework for R (R)
README
[![Build Status](https://travis-ci.org/Bart6114/jug.svg)](https://travis-ci.org/Bart6114/jug)
[![codecov](https://codecov.io/gh/Bart6114/jug/branch/master/graph/badge.svg)](https://codecov.io/gh/Bart6114/jug)
[![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/jug)](http://cran.r-project.org/web/packages/jug)
[![Downloads](http://cranlogs.r-pkg.org/badges/jug)](http://cran.rstudio.com/package=jug)# jug: A Simple Web Framework for R
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](http://bart6114.github.io/jug/articles/jug.html) for the vignette documentation.
Plugins:
- [`jug.parallel`](https://github.com/Bart6114/jug.parallel)
## 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