Skip to content

reqres

1.2.0Package record

Powerful Classes for HTTP Requests and Responses

5packages dependsuggested by 2
19.7Kdownloads / year
70.8%test coverage
13/13flavors OK

Overview

About

In order to facilitate parsing of http requests and creating appropriate responses this package provides two classes to handle a lot of the housekeeping involved in working with http exchanges. The infrastructure builds upon the 'rook' specification and is thus well suited to be combined with 'httpuv' based web servers.

Changes in 1.2.0
  • Added unclass_request() and maybe_request() to allow you to strip off a bit of overhead by working with the objects as bare environments
  • Added mock_request() to create a mock request

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.6 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-10-06
  • ERROR12 OK, 1 ERROR2026-10-01
  • OK13 OK2026-09-17
  • ERROR12 OK, 1 ERROR2026-09-16
  • OK13 OK2026-09-07
Show 12 earlier changesHide 12 earlier changes
  • ERROR12 OK, 1 ERROR2026-09-04
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-18
  • ERROR11 OK, 2 ERROR2026-07-15
  • OK13 OK2026-07-04
  • ERROR12 OK, 1 ERROR2026-07-01
  • OK13 OK2026-06-08
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK14 OK2026-03-26
  • ERROR13 OK, 1 ERROR2026-03-19
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.0
READMEYes · 698 wordsVignettesNoNEWSYes · 100% structured · mentions 1.2.0Citation fileNoWebsiteYes · pkgdown
Help pages
15 (3 internal)includes a package overview page
Examples that run
82%9 run in a plain check (1 of them under a condition) · 2 never run
Exported functions with examples
79%
Documented parameters
100%
Return-value docs
79%
Help pages citing references
0%

Downloads

19.7K
CRAN downloads in the past year
Rank #2,933 · ~54/day · ~1.6K/mo
Daily download trend is not available in this view yet.
1K30 days
4.7K90 days
19.7K1 year
Compare downloads with other packages →
Also on896 r2u8 autocran157 c2d4u

Repository

40Stars
4Forks
5Open issues
2Open PRs
6Releases
197Commits
2Commit identities
rstatshttp-serverhttprequestresponse
197 commits · Last activity 2025-12-11 · 0% stars, 30d · Default branch at 1.2.0.9000, ahead of CRAN 1.2.0 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
50%
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
246

Stars over time

2025-04-08 · 392026-07-07 · 40
PracticesBeta

13 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/thomasp85/reqres on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Code of conduct
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-12-11 · The repository has a site deploy workflow

pkgdown site last built 2025-12-11

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 3 practices
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (2)
AirVS Code
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)

Installing reqres adds 22 packages (17 with compiled code, 22 MB of source tarballs). Heaviest: stringi 11 MB, promises 3.1 MB, Rcpp 1.8 MB.

Depends (1)
R >= 3.5
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
5direct
4indirect
Imports 5
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Maintainer since 0.2.0 (2017), Author
Releases (8)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.0Latest
    record
    2025-12-11 · current release · diff ↗ ·
    added 3 exports
    maybe_request, mock_request, unclass_request
  • 1.1.0
    record
    2025-11-06 · diff ↗
  • 1.0.0
    record
    2025-08-20 · diff ↗ ·
    added 19 exports
    abort_bad_request, abort_conflict, abort_forbidden, abort_gone, abort_http_problem, abort_internal_error, abort_method_not_allowed, abort_not_acceptable, abort_not_found, abort_status, abort_unauthorized, handle_problem, is_reqres_problem, is_session_cookie_settings, mime_type_from_file, mime_type_info, query_parser, random_key, session_cookie
  • 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.2.5
    record
    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.2.3
    record
    2019-10-02 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.2
    record
    2018-11-12 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.2.1
    record
    2017-10-25 · diff ↗
Show 2 earlier eventsHide 2 earlier events
  • 0.2.0
    record
    2017-08-12
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-08-12
Total releases
8 / 9 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5
Download size
122 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("reqres")
Pedersen, T. L. (2025). reqres: Powerful Classes for HTTP Requests and Responses (Version 1.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.reqres

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 reqres version 1.2.0 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, 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