Rdocumentation
powered by
Learn R Programming
jug (version 0.1.7)
A Simple Web Framework for R
Description
jug is a web framework aimed at easily building APIs. It is mostly aimed at exposing R functions, models and visualizations to third-parties by way of http requests.
Copy Link
Link to current version
Version
Version
0.1.7
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Install
install.packages('jug')
Monthly Downloads
69
Version
0.1.7
License
MIT + file LICENSE
Issues
8
Pull Requests
1
Stars
149
Forks
22
Repository
https://github.com/Bart6114/jug
Maintainer
Bart Smeets
Last Published
April 13th, 2017
Functions in jug (0.1.7)
Search all functions
Middleware
Middleware class
MiddlewareHandler
MiddlewareHandler R6 class definition
Response
Response class
add_middleware
Internal function to add middleware
include
Include elsewhere constructed middleware with primary jug instance
match_path
Helper function to extract regex named capture groups from string
cors
Add cors functionality
decorate
Convenience function to decorate existing functions
stop_daemon
Stop daemonized server
use
Function to add request method insensitive middleware
RawTestRequest
Generate request for testing purposes
Request
Request class
new_error
Create response instance
parse_params
Parse the params passed by the request
serve_it
Start serving the jug instance
serve_static_files
Middleware to serve static files
Error
Response class
jug
New jug instance
delete
Function to add DELETE-binding middleware
get
Function to add GET-binding middleware
ws
Function to add websocket handling middleware
post
Function to add POST-binding middleware
process_test_request
Initialize process of test request
put
Function to add PUT-binding middleware
reexports
Objects exported from other packages
auth_basic
Basic authentication middleware
collector
Collector function for middlewares
simple_error_handler
An error handler middleware which returns a error description in HTML format
simple_error_handler_json
An error handler middleware which returns a error description in JSON format