A Client for 'Evolution Cloud API'
Overview
Provides an 'R' interface to the 'Evolution API' https://evoapicloud.com, enabling sending and receiving 'WhatsApp' messages directly from 'R'. Functions include sending text, media (image/video/document), audio, stickers, geographic locations, contacts, polls, interactive lists and button messages. Also includes number verification and structured CLI logging for debugging.
Bug fixes
- Defined the null-coalescing operator
%||%internally. It was used by.evo_post()andsend_contact()but is only part of base R since 4.4.0, so the package failed to load on R 4.2--4.3 (the declared minimum is R 4.2.0). send_*()functions now normalise the recipientnumber, stripping formatting characters (spaces, dashes, parentheses and a leading+) before the request. Previously a number such as"+5581999990000"was sent verbatim and could be rejected by the API, even though it was shown as valid in the documentation. JIDs (values containing@, e.g. group ids...@g.us) are passed through unchanged..normalize_media()no longer silently treats a mistyped file path as base64. It now requires standard (padded) base64 and emits a path-aware error pointing at the resolved location when a file is not found.
Show all changes in 0.1.1Hide the rest of the changes in 0.1.1
- Corrected the copyright holder in
LICENSE, which still referenced an unrelated package.
Documentation
- Unified the API reference URL across
READMEandDESCRIPTION(https://evoapicloud.com). - Removed a dead "apikey" redaction branch in the verbose logger (the API key is only ever sent as a header, never in the request body).
Internal
- Added a
testthatsuite covering the offline helpers (jid(),.normalize_media(),.compact(),.evo_path(),.assert_scalar_string()) and the argument-validation guard clauses of the exportedsend_*()functions andevo_client(). - Added
.Rhistoryand.DS_Storeto.Rbuildignore.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 20 (6 internal)
- Examples that run
- 7%1 run in a plain check · 13 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Commits over time
8 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/strategicprojects/evolution on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-29
pkgdown site last built 2026-02-27, before release 0.1.1 (2026-06-14)
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-06-14Seen in the repository: CLAUDE.mdNamed in .Rbuildignore: .claudeNamed in .gitignore: .claudeCommits: at least 6 crediting it in the message
- Claude CodePull requests: 3 from outside contributors, first on 2026-06-14
- Claude Opus 4.83 commits · Jun 2026
- Claude Opus 5.53 commits · Sep 2026
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.1.1Latest
- RR 4.6.0 released · 2026-04-24
- 0.1.0
- 0.0.12025-11-20
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-11-20
- Total releases
- 3 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.2.0
- Download size
- 50 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("evolution")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.
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.