R Observatory
Search
install.packages("webfakes")
CRAN 30-day downloads, method
19,967−24.5% down on the 30 days before, the worse direction
Dependent packages, method
138 more suggest it
Test coverage, method
35%of lines run by tests

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.

Maintainer
Gábor Csárdi
Latest release
16 May 2026
First release
16 Dec 2020

Compare with another package

More details
Releases
15
Needs compilation
Yes
Needs R
>= 3.6
Config/Needs/website
tidyverse/tidytemplate
Config/roxygen2/version
8.0.0
Config/testthat/edition
3
Config/usethis/last-upkeep
2025-04-28
Task views (1)
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("webfakes")
APA
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
About

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

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-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    1.5.0
    Time taken
    114 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    1.5.0
    Time taken
    90 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    1.5.0
    Time taken
    74 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    1.5.0
    Time taken
    82 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    1.5.0
    Time taken
    283 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    1.5.0
    Time taken
    32 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    1.5.0
    Time taken
    97 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    1.5.0
    Time taken
    241 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    1.5.0
    Time taken
    114 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    1.5.0
    Time taken
    112 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    1.5.0
    Time taken
    31 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    1.5.0
    Time taken
    103 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    1.5.0
    Time taken
    253 s
  • 13 OK

Over time

No change since 15 Oct 2026

As a list (14)
ChangedWorst statusOKNotesWarningsErrors
15 Oct 2026OK13000
8 Oct 2026Error12001
4 Aug 2026OK13000
1 Aug 2026Note12100
30 Jul 2026OK13000
29 Jul 2026Note12100
8 Jun 2026OK13000
7 Jun 2026Error12001
24 May 2026OK13000
12 May 2026Error12001
16 Apr 2026OK14000
21 Mar 2026Warning9410
17 Mar 2026Note13100
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
21,086−22.8% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

792 of 26,530

CRAN

19,967 downloads in the last 30 days

Rank
792 of 26,530
Change
−24.5% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

1,116 downloads in the last 30 days

Rank
785 of 30,526
Change
+34.1% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

3 downloads in the last 30 days

Rank
17,776 of 29,212
Change
−76.9% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
3
Dependent packages
1
Suggested by
38
Needs (3)
  • stats
  • tools
  • utils
Installing it adds
0 packages, 0 KB of source
Of those, need compilation
0
Optional extras (14)
Dependent packages (1)
PackageTitleDownloads in 30 days
wikkitidyTidy Analysis of Wikipedia260
Functions
3,348
Public exports
24
Lines of R code
6,029
Median complexity
2
Functions (3,348)
Size and composition

Lines by kind (247,552)

KindLinesShare
R code6,0292%
Tests2,5651%
Documentation2,7481%
Compiled code236,21095%

Lines by language

LanguageLinesShare
C236,21095%
R8,3243%
Rd2,7401%
Markdown1950.1%
Other650%
Vignettes80%
HTML80%
JSON20%

Languages are counted from file extensions.

Files
444
R functions
111
Compiled functions
3,263
Object systems
S3: 10 methods
Complexity
Median
2
Mean
4.66
Highest
90
Median lines per function
10
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
111
Calls
134
Unconnected
12
Groups
4
Growth (15 releases)
Total lines by release
32,548 on 16 Dec 2020247,552 on 16 May 2026
Release changes

Coverage was measured, but at least one test failed during the run.

Lines run by tests
35.1%
Expressions run by tests
34.4%
Test cases
111
Exports named in tests
79.2%
Coverage by file (31)
Coverage run
Lines counted
3,049
Lines the tests ran
1,070
Tests passed
No
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
RUnit, testthat
Test cases
111
Snapshot tests
19
Lines of tests
2,565
Test lines per line of code
0.43
Exports documented
100%
Arguments documented
96.7%
Return value documented
91.7%
Help pages with examples
60%
Examples run in checks
100%
Other documentation
README
Yes, 528 words
Release notes file
Yes
Help pages
30
Lines of documentation
2,748

Funded by Posit Software, PBC

Earlier names (1)
  • RStudio, Pbc.

r-lib / webfakes on github.com

Stars
62
Forks
6
Open issues
1
Last commit
6 Jun 2026
Activity
Commits
594
Open pull requests
0
Tagged releases
17
Latest tagged release
v1.5.0, 17 May 2026
In development
Default branch at 1.5.0.9000, ahead of CRAN 1.5.0 (checked 2026-10-25)
Issues closed in
48 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
96%
Created
30 Mar 2020
Licence file reads as
–
Development practices (14)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Governance and communityCode of conduct
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2026-06-06
The repository has a site deploy workflow
pkgdown site last built 2026-05-17
CoverageCoverage reporting (Codecov), .covrignore
Reproducibility and dev environmentMakefile
Lint, format, editorLint workflow, Air, VS Code, RStudio project

Method, repository practices

Across r-lib

R releases
  • On CRAN
  • Release
1.1.11.1.31.1.61.1.71.2.01.3.01.3.11.3.21.4.01.5.0R 4.1.0R 4.2.0R 4.3.0R 4.4.0R 4.5.0R 4.6.0
VersionReleasedR
1.5.0 current16 May 20264.6.0
1.4.18 Apr 20264.5.3
1.4.024 Jun 20254.5.1
1.3.211 Jan 20254.4.2
1.3.125 Apr 20244.4.0
1.3.011 Dec 20234.3.2
1.2.11 Oct 20234.3.1
1.2.016 May 20234.3.0
Earlier versions (7)
VersionReleasedR
1.1.78 Feb 20234.2.2
1.1.68 Nov 20224.2.2
1.1.525 Oct 20224.2.1
1.1.48 Sep 20224.2.1
1.1.330 Apr 20214.0.5
1.1.25 Apr 20214.0.5
1.1.116 Dec 20204.0.3
Release notes (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).
  • 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).