routr: A Simple Router for HTTP and WebSocket Requests

In order to make sure that web request ends up in the correct handler function a router is often used. 'routr' is a package implementing a simple but powerful routing functionality for R based servers. It is a fully functional 'fiery' plugin, but can also be used with other 'httpuv' based servers.

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: R6, reqres (≥ 1.0.0), stringi, rlang (≥ 1.1.0), cli, lifecycle, fs, promises, brio
Suggests: testthat (≥ 3.0.0), covr, fiery (≥ 1.3.0), swagger, redoc, rapidoc, rmarkdown, quarto, mirai, knitr, later
Published: 2025-08-21
Author: Thomas Lin Pedersen ORCID iD [cre, aut]
Maintainer: Thomas Lin Pedersen <thomasp85 at gmail.com>
BugReports: https://github.com/thomasp85/routr/issues
License: MIT + file LICENSE
URL: https://routr.data-imaginist.com, https://github.com/thomasp85/routr
NeedsCompilation: no
Materials: README, NEWS
In views: WebTechnologies
CRAN checks: routr results

Documentation:

Reference manual: routr.html , routr.pdf

Downloads:

Package source: routr_1.0.0.tar.gz
Windows binaries: r-devel: routr_0.4.1.zip, r-release: routr_0.4.1.zip, r-oldrel: routr_0.4.1.zip
macOS binaries: r-release (arm64): routr_0.4.1.tgz, r-oldrel (arm64): routr_0.4.1.tgz, r-release (x86_64): routr_0.4.1.tgz, r-oldrel (x86_64): routr_0.4.1.tgz
Old sources: routr archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=routr to link to this page.