jug: A Simple Web Framework for R
Version 0.1.7

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.

Browse man pages Browse package API and functions Browse package files

AuthorBart Smeets [aut, cre]
Date of publication2017-04-13 17:51:48 UTC
MaintainerBart Smeets <bartsmeets86@gmail.com>
LicenseMIT + file LICENSE
Version0.1.7
URL https://github.com/Bart6114/jug
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("jug")

Man pages

add_middleware: Internal function to add middleware
auth_basic: Basic authentication middleware
collector: Collector function for middlewares
cors: Add cors functionality
decorate: Convenience function to decorate existing functions
delete: Function to add DELETE-binding middleware
Error: Response class
get: Function to add GET-binding middleware
include: Include elsewhere constructed middleware with primary jug...
Jug: New jug instance
match_path: Helper function to extract regex named capture groups from...
Middleware: Middleware class
MiddlewareHandler: MiddlewareHandler R6 class definition
new_error: Create response instance
parse_params: Parse the params passed by the request
post: Function to add POST-binding middleware
process_test_request: Initialize process of test request
put: Function to add PUT-binding middleware
RawTestRequest: Generate request for testing purposes
reexports: Objects exported from other packages
Request: Request class
Response: Response class
serve_it: Start serving the jug instance
serve_static_files: Middleware to serve static files
simple_error_handler: An error handler middleware which returns a error description...
simple_error_handler_json: An error handler middleware which returns a error description...
stop_daemon: Stop daemonized server
use: Function to add request method insensitive middleware
ws: Function to add websocket handling middleware

Functions

Error Man page
Middleware Man page
MiddlewareHandler Man page
RawTestRequest Man page
Request Man page
Response Man page
\%>\% Man page
add_middleware Man page Source code
auth_basic Man page Source code
collector Man page Source code
cors Man page Source code
decorate Man page Source code
delete Man page Source code
get Man page
get.Jug Man page Source code
get.default Source code
include Man page Source code
jug Man page Source code
match_path Man page Source code
new_error Man page Source code
parse_params Man page Source code
post Man page Source code
process_test_request Man page Source code
put Man page Source code
reexports Man page
serve_it Man page Source code
serve_static_files Man page Source code
simple_error_handler Man page Source code
simple_error_handler_json Man page Source code
stop_daemon Man page Source code
use Man page Source code
ws Man page Source code

Files

inst
inst/html_templates
inst/html_templates/404.html
inst/html_templates/500.html
inst/doc
inst/doc/jug.html
inst/doc/jug.Rmd
inst/doc/jug.R
tests
tests/testthat.R
tests/testthat
tests/testthat/test_func_decoration.R
tests/testthat/test_get.R
tests/testthat/index.html
tests/testthat/test_post.R
tests/testthat/test_static_file_server.R
tests/testthat/test_collector.R
tests/testthat/test_handler_adding.R
tests/testthat/test_cors.R
tests/testthat/test_multiple_mw_function.R
tests/testthat/test_auth.R
tests/testthat/test_websocket_conn.R
tests/testthat/test_req.R
tests/testthat/test_error_handling.R
tests/testthat/test_helpers.R
tests/testthat/helper_collected_mw2.R
NAMESPACE
R
R/middleware_auth.R
R/request.R
R/helpers.R
R/test_request.R
R/middleware_static.R
R/middleware_collector.R
R/middleware_error.R
R/middleware_core.R
R/middleware_cors.R
R/error.R
R/decorators.R
R/jug.R
R/response.R
vignettes
vignettes/jug.Rmd
MD5
build
build/vignette.rds
DESCRIPTION
man
man/new_error.Rd
man/stop_daemon.Rd
man/Error.Rd
man/include.Rd
man/process_test_request.Rd
man/MiddlewareHandler.Rd
man/simple_error_handler.Rd
man/Response.Rd
man/auth_basic.Rd
man/decorate.Rd
man/collector.Rd
man/post.Rd
man/match_path.Rd
man/parse_params.Rd
man/Request.Rd
man/serve_it.Rd
man/use.Rd
man/serve_static_files.Rd
man/ws.Rd
man/reexports.Rd
man/put.Rd
man/delete.Rd
man/cors.Rd
man/simple_error_handler_json.Rd
man/add_middleware.Rd
man/get.Rd
man/Middleware.Rd
man/RawTestRequest.Rd
man/Jug.Rd
LICENSE
jug documentation built on May 19, 2017, 11:22 a.m.