Skip to content

HTTP Client

40packages dependsuggested by 7
322.8Kdownloads / year
84.3%test coverage
13/13flavors OK

Overview

About

A simple HTTP client, with tools for making HTTP requests, and mocking HTTP requests. The package is built on R6, and takes inspiration from Ruby's 'faraday' gem (https://rubygems.org/gems/faraday). The package name is a play on curl, the widely used command line tool for HTTP, and this package is built on top of the R package 'curl', an interface to 'libcurl' (https://curl.se/libcurl/).

Changes in 1.6.0

NEW FEATURES

  • generic mocking is now controlled in each HTTP client (HttpClient, Async, and AsyncVaried) via an initialization parameter AsyncVaried or through each HTTP class method (e.g., get, post on HttpClient, Async). mocking used to be tied to webmockr but now can be controlled independently (#184)

DEPRECATED

  • mock() is deprecated, and will be removed in a future version. Mocking is now controlled by parameters within the various HTTP clients: HttpClient, Async, and AsyncVaried (#184)

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.6.0
README· In the repository, left out of the releaseVignettesYes · 6 · staticNEWSYes · 33% structured · mentions 1.6.0Citation fileNoWebsiteYes · pkgdown
Help pages
30 (1 internal)includes a package overview page
Examples that run
35%9 run in a plain check (3 of them under a condition) · 17 never run
Exported functions with examples
88%
Documented parameters
100%
Return-value docs
38%
Help pages citing references
23%

Downloads

322.8K
CRAN downloads in the past year
Rank #782 · ~884/day · ~26.9K/mo
Daily download trend is not available in this view yet.
19.7K30 days
60.6K90 days
322.8K1 year
Compare downloads with other packages →
Also on5.5K r2u201 autocran219.1K conda_forge703 c2d4u

Repository

108Stars
19Forks
13Open issues
1Open PRs
24Releases
538Commits
15Commit identities
httpcurlasyncrstatsapirr-package
538 commits · Last activity 2025-07-23 · 0% stars, 30d · Default branch at 1.6.0.9000, ahead of CRAN 1.6.0 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
97%
Median days to close, 50 most recently updated closed issues
30
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-07-28 · 1062026-07-07 · 108
PracticesBeta

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

Checks run against github.com/ropensci/crul on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (4)
Code of conduct (inherited from ropensci)Contributing guideIssue templatesPR template
Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2019-11-22

Coverage (1)
Coverage reporting
Show all practicesHide 3 practices
Reproducibility and dev environment (1)
Makefile
CRAN release process (2)
cran-comments.mdrevdep/
Research and citation (1)
codemeta.json
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)

Installing crul adds 11 packages (8 with compiled code, 5.2 MB of source tarballs). Heaviest: Rcpp 1.8 MB, jsonlite 1.0 MB, rlang 766 KB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none

People & History

People (1)
Author, Maintainer since 0.1.0 (2016)
Releases (24)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.6.0Latest
    record
    2025-07-23 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.5.0
    record
    2024-07-19 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.4.2
    record
    2024-04-09 · diff ↗
  • 1.4.0
    record
    2023-05-17 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.3
    record
    2022-09-03 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.2.0
    record
    2021-11-22 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.1.0
    record
    2021-02-15 · diff ↗
  • 1.0.0
    record
    2020-07-30 · diff ↗ ·
    added 3 exports
    AsyncQueue, curl_verbose, set_verbose
  • R
    R 4.0.0 released · 2020-04-24
  • 0.9.0
    record
    2019-11-06 · diff ↗
Show 19 earlier eventsHide 19 earlier events
  • 0.8.4
    record
    2019-08-02 · diff ↗
  • 0.8.0
    record
    2019-06-28 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.7.4
    record
    2019-03-28 · diff ↗
  • 0.7.0
    record
    2019-01-04 · diff ↗ ·
    removed 1 export
    HttpStubbedResponse
  • 0.6.0
    record
    2018-07-10 · diff ↗ ·
    added 6 exports
    crul_settings, ok, set_auth, set_headers, set_opts, set_proxy
  • R
    R 3.5.0 released · 2018-04-23
  • 0.5.2
    record
    2018-02-24 · diff ↗
  • 0.5.0
    record
    2018-01-22 · diff ↗ ·
    added 1 export
    Paginator
  • 0.4.0
    record
    2017-10-03 · diff ↗ ·
    added 1 export
    upload
  • 0.3.8
    record
    2017-06-15 · diff ↗
  • 0.3.6
    record
    2017-05-23 · diff ↗ ·
    added 3 exports
    HttpStubbedResponse, auth, mock
  • R
    R 3.4.0 released · 2017-04-21
  • 0.3.4
    record
    2017-03-31 · diff ↗ ·
    added 2 exports
    url_build, url_parse
  • 0.3.0
    record
    2017-02-17 · diff ↗ ·
    added 4 exports
    Async, AsyncVaried, HttpRequest, proxy
  • 0.2.0
    record
    2017-01-03 · diff ↗
  • 0.1.6
    record
    2016-12-17 · diff ↗
  • 0.1.0
    record
    2016-11-09
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-11-09
Total releases
24 / 10 yrs
License
MIT + file LICENSE OSI
Download size
519 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("crul")
Chamberlain, S. (2025). crul: HTTP Client (Version 1.6.0) [Computer software]. https://doi.org/10.32614/CRAN.package.crul

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

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