Skip to content

routr

2.0.0

A Simple Router for HTTP and WebSocket Requests

3packages depend
17.2Kdownloads / year
70.2%test coverage
13/13checks pass

Overview

About
Maintained by Thomas Lin PedersenFirst published 2017-08-227 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 1.7 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.73
70.2%
Coverage · measured lines
100%
Documentation · exports
12
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 756 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
94%
Return-value docs
75%
References docs
0%

Downloads

17.2K
CRAN downloads in the past year
Rank #3,131 · ~47/day · ~1.4K/mo
Daily download trend is not available in this view yet.
1.7K30 days
4.4K90 days
17.2K1 year
Compare downloads with other packages →
Also on322 r2u21 autocran90 c2d4u

Repository

Repository
56Stars
10Forks
1Open issues
1Open PRs
6Releases
186Commits
7Contributors
rstatsmiddlewarehttp-routerrouterwebtechnology
186 commits · Last activity 2025-12-19 · 0% stars, 30d

Stars over time

2024-09-18 · 552026-07-07 · 56

Repository practices

Upstream repositoryBeta

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.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Lint, format, editor (2)
AirVS Code
Show all practices
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
25 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
3direct
2indirect

Code & Tests

Code Composition
R 5,437 (72%)Rd 1,588 (21%)Markdown 429 (6%)Vignettes 85 (1%)HTML 30 (0%)JSON 20 (0%)YAML 12 (0%)Other 1 (0%)
Code characteristics
Object systems
S34R64
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

Loading call graph…

Lowest coverage

53 functions
FunctionCycloCoverage
ressource_route exp10%
has_no_match10%
quarto_info44%
with_route_ospan610%
report_route exp2948%
openapi_route exp1183%

People & History

People (1)
Maintainer (1)
Maintainer, Author
Authors (1)
Maintainer, Author
Package Timeline

7 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.0.0Latest
    2025-12-18 · current release · diff ↗
  • 1.1.0
    2025-11-18 · diff ↗
  • 1.0.0
    2025-08-21 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.1
    2022-08-19 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.4.0
    2019-10-03 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 0.3.0
    2017-10-26 · diff ↗
  • 0.2.0
    2017-08-22
Show 1 earlier events
  • R
    R 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
Appears in task views
Report a problem with this page →