routr
2.0.0A Simple Router for HTTP and WebSocket Requests
Overview
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.
Install
Health
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 94%
- Return-value docs
- 75%
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
7 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/thomasp85/routr on 2026-07-19.
Show all practices
Dependencies
Code & Tests
- Cyclomatic complexity
- 3.0 median / 29 max
- Test cases
- 87 / 0.73 per code line
Test coverage
Line coverage
70%
Expression
73.8%
Tests / Examples
70.2% / – ex
Functions
53 16 exported
Complexity
4.6 avg / 29 max
Call network
53 nodes / 46 edges
Call graph
Open call graph →Lowest coverage
53 functions| Function | Cyclo | Coverage |
|---|---|---|
| ressource_route exp | 1 | 0% |
| has_no_match | 1 | 0% |
| quarto_info | 4 | 4% |
| with_route_ospan | 6 | 10% |
| report_route exp | 29 | 48% |
| openapi_route exp | 11 | 83% |
People & History
7 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 2.0.0Latest
- 1.1.02025-11-18 · diff ↗
- 1.0.02025-08-21 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.4.12022-08-19 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.4.02019-10-03 · diff ↗
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 0.3.02017-10-26 · diff ↗
- 0.2.02017-08-22
Show 1 earlier events
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-08-22
- Total releases
- 7 / 9 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 94 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet