Skip to content

webfakes

1.5.0

Fake Web Apps for HTTP Testing

1packages dependsuggested by 36
351.5Kdownloads / year
35.1%test coverage
13/13flavors OK

Overview

About

Create a web app that makes it easier to test web clients without using the internet. It includes a web app framework with path matching, parameters and templates. Can parse various 'HTTP' request bodies. Can send 'JSON' data or files from the disk. Includes a web app that implements the 'httpbin.org' web service.

Changes in 1.5.0
  • New keep_alive_timeout_ms option in server_opts() to configure the idle timeout of keep-alive connections. The default is 5000 ms, up from the underlying CivetWeb default of 500 ms (#114).
  • Handler functions may now declare a locals argument, in which case webfakes passes app$locals to it directly, without having to access it through req$app$locals (#112).
  • webfakes now builds on platforms where ar does not writes a symbol index by default (@barracuda156, #121).
  • webfakes now parses HTTP date headers (e.g. Date, Last-Modified, Expires) correctly regardless of the user's LC_TIME setting (@lbm364dl, #124).
  • Route matching now ignores trailing slashes. Use regular expressions (new_regexp()) if you need exact trailing slash matching (#120).
Show all changes in 1.5.0Hide the rest of the changes in 1.5.0
  • httpbin_app()'s /post, /put, /patch, /delete and /anything* endpoints now return the request body in the data field for any Content-Type, matching httpbin.org (#115).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.6 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-10-15
  • ERROR12 OK, 1 ERROR2026-10-08
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-30
Show 9 earlier changesHide 9 earlier changes
  • NOTE12 OK, 1 NOTE2026-07-29
  • OK13 OK2026-06-08
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK13 OK2026-05-24
  • ERROR12 OK, 1 ERROR2026-05-12
  • OK14 OK2026-04-16
  • WARNING9 OK, 4 NOTE, 1 WARNING2026-03-21
  • NOTE13 OK, 1 NOTE2026-03-17
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.5.0
READMEYes · 528 wordsVignettes· In the repository, left out of the releaseNEWSYes · 100% structured · mentions 1.5.0Citation fileNoWebsiteYes · pkgdown
Help pages
30 (1 internal)includes a package overview page
Examples that run
100%18 run in a plain check (1 of them under a condition)
Exported functions with examples
67%
Documented parameters
97%
Return-value docs
92%
Help pages citing references
0%

Downloads

351.5K
CRAN downloads in the past year
Rank #687 · ~963/day · ~29.3K/mo
Daily download trend is not available in this view yet.
22.6K30 days
78.3K90 days
351.5K1 year
Compare downloads with other packages →
Also on7.8K r2u5 autocran

Repository

62Stars
6Forks
1Open issues
0Open PRs
17Releases
594Commits
7Commit identities
594 commits · Last activity 2026-06-06 · Default branch at 1.5.0.9000, ahead of CRAN 1.5.0 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
96%
Median days to close, 50 most recently updated closed issues
48
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-04-15 · 622026-07-07 · 62
PracticesBeta

14 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/r-lib/webfakes 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 2026-06-06 · The repository has a site deploy workflow

pkgdown site last built 2026-05-17

Coverage (2)
Coverage reporting (Codecov).covrignore
Show all practicesHide 2 practices
Reproducibility and dev environment (1)
Makefile
Lint, format, editor (4)
Lint workflowAirVS CodeRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)

Installing webfakes adds no packages beyond those that come with R.

Depends (1)
R >= 3.6
Imports (3)
statstoolsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 36
Show all 37 packagesHide all 37 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (8)
Author, Maintainer since 1.1.1 (2020)
Contributor
see inst/credits/ciwetweb.md
Contributor
src/md5.h
Contributor
src/md5.h
Contributor
see inst/credits/redoc.md
Contributor
Copyright holder, Funder · added in 1.3.0
Copyright holder
src/md5.h
Listed in earlier versions (2)
RStudio, Pbc.
no longer listed · 1.1.1 to 1.1.6
RStudio, Pbc.
no longer listed · 1.1.7 to 1.2.1
Releases (15)

Pick two releases to compare their code metrics.

Show 6 earlier eventsHide 6 earlier events
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.1.3
    record
    2021-04-30 · diff ↗
  • 1.1.2
    record
    2021-04-05 · diff ↗
  • 1.1.1
    record
    2020-12-16
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-12-16
Total releases
15 / 6 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.6
Download size
1.8 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("webfakes")
Csárdi, G., Posit Software, PBC, Aladdin Enterprises, , Civetweb contributors, , Deutsch, L. P., Purschke, M., Redoc contributors, , & Salmon, M. (2026). webfakes: Fake Web Apps for HTTP Testing (Version 1.5.0) [Computer software]. https://doi.org/10.32614/CRAN.package.webfakes

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 webfakes version 1.5.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