Generate QRcodes with R
Overview
Create static QR codes in R. The content of the QR code is exactly what the user defines. We don't add a redirect URL, making it impossible for us to track the usage of the QR code. This allows to generate fast, free to use and privacy friendly QR codes.
- Add
qr_vcard()to generate QR codes for a vCard. - Add
qr_sepa()to generate QR codes for SEPA payments. - Add
qr_location()to generate QR codes for locations. generate_svg()now escapes the special characters&,',",<,>. Fixes #19 reported by @kaveelim.
From NEWS.md in the release
Install
Health
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64
Missing dependency on R >= 4.2.0 because package code uses the pipe
placeholder syntax added in R 4.2.0.
File(s) using such syntax:
‘qr_vcard.R’r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64
Missing dependency on R >= 4.2.0 because package code uses the pipe
placeholder syntax added in R 4.2.0.
File(s) using such syntax:
'qr_vcard.R'NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: qrcode/R/qr_mode.R (.Names: 1) '.Names' should be changed to 'names'.
- NOTE13 NOTENow
- NOTE12 NOTE, 1 FAILURE2026-06-08
- WARNING12 NOTE, 1 WARNING2026-06-07
- NOTE3 OK, 11 NOTE2026-03-10
Documentation
- Help pages
- 21
- Examples that run
- 100%17 run in a plain check
- Exported functions with examples
- 75%
- Documented parameters
- 100%
- Return-value docs
- 31%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 90%
- Median days to close, 50 most recently updated closed issues
- 16
- Median days to close, 50 most recently updated closed PRs
- 4
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
15 development-tooling and community-health practices detected across 8 families in the upstream repository
Checks run against github.com/thierryo/qrcode on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Funding links: GitHub Sponsors
The repository owner accepts GitHub Sponsors
GitHub Pages site last deployed 2024-09-29
pkgdown site last built 2024-09-29
Show all practicesHide 4 practices
Dependencies
Installing qrcode adds 1 package (0 with compiled code, 12 KB of source tarballs). Heaviest: assertthat 12 KB.
Code & Tests
People & History
Previously maintained by Victor Teh (0.1.1).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.3.0Latest
- RR 4.4.0 released · 2024-04-24
- 0.2.22023-11-11 · diff ↗ ·
removed 7 exports
DataStringBinary, ECgenerator, qrFillUpMatrix, qrInterleave, qrMask, qrVersionInfo, qrcode_genadded 1 export
coordinates - RR 4.3.0 released · 2023-04-21
- 0.2.1
- 0.2.0
- RR 4.2.0 released · 2022-04-22
- 0.1.42021-10-13 · diff ↗ ·
added 9 exports
bits, bits2int, int2bits, qr_code, qr_encode, qr_error, qr_matrix, qr_mode, qr_version - 0.1.3
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
Show 3 earlier eventsHide 3 earlier events
- RR 3.3.0 released · 2016-05-03
- 0.1.12015-08-23
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-08-23
- Total releases
- 7 / 11 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 41 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("qrcode")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.5281/zenodo.5040088.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.