plug: Secure and Intuitive Access to 'Plug' Interface

Provides a secure and user-friendly interface to interact with the 'Plug' <https://plugbytpf.com.br> 'API'. It enables developers to store and manage credentials and tokens securely using the 'keyring' package, and to retrieve data from 'API' endpoints with the 'httr2' package, using 'SQL' queries built safely from templates. Designed for simplicity and security, the package facilitates seamless integration with the 'Plug' ecosystem.

Version: 0.2.0
Depends: R (≥ 4.1.0)
Imports: glue, httr2 (≥ 1.0.0), keyring, tibble
Suggests: testthat (≥ 3.0.0), withr
Published: 2026-09-29
DOI: 10.32614/CRAN.package.plug
Author: Andre Leite [aut, cre], Felipe Ferreira [aut], Hugo Vasconcelos [aut], Diogo Bezerra [aut], Roger Azevedo [aut], Marcos Wasiliew ORCID iD [aut], Júlia Nascimento Barreto ORCID iD [aut]
Maintainer: Andre Leite <leite at castlab.org>
BugReports: https://github.com/StrategicProjects/plug/issues
License: MIT + file LICENSE
URL: https://github.com/StrategicProjects/plug
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: plug results

Documentation:

Reference manual: plug.html , plug.pdf

Downloads:

Package source: plug_0.2.0.tar.gz
Windows binaries: r-devel: plug_0.1.0.zip, r-release: plug_0.1.0.zip, r-oldrel: plug_0.1.0.zip
macOS binaries: r-release (arm64): plug_0.1.0.tgz, r-oldrel (arm64): plug_0.1.0.tgz, r-release (x86_64): plug_0.2.0.tgz, r-oldrel (x86_64): plug_0.1.0.tgz
Old sources: plug archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=plug to link to this page.