Skip to content

routr

2.0.0

A Simple Router for HTTP and WebSocket Requests

3packages depend
18.6Kdownloads / 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.6 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-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • 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

18.6K
CRAN downloads in the past year
Rank #2,853 · ~51/day · ~1.5K/mo
Daily download trend is not available in this view yet.
2K30 days
5.1K90 days
18.6K1 year
Compare downloads with other packages →
Also on355 r2u14 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-08-16.

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

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

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("routr")
Pedersen, T. L. (2025). routr: A Simple Router for HTTP and WebSocket Requests (Version 2.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.routr

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for routr version 2.0.0 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy