Share Sensitive Information in R Packages
Overview
Allow sharing sensitive information, for example passwords, 'API' keys, etc., in R packages, using public key cryptography.
- New functions
get_github_key()andget_travis_key()to retrieve public keys from GitHub and Travis (#23). add_travis_user()works correctly again, now it uses the Travis V2 API at https://api.travis-ci.com.add_github_user()now works correctly when not the first key is added (#21, @jiwalker-usgs).get_secret()is now faster, because it uses fingerprint matching instead of trying to decrypt every file (#19, @jiwalker-usgs).list_secrets()now works ifvaultis not specified (#22, @AlexAxthelm).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 23 (5 internal)includes a package overview page
- Examples that run
- 0%6 never run
- Exported functions with examples
- 35%
- Documented parameters
- 100%
- Return-value docs
- 24%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 91%
- 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
Forks over time
Issues over time
PRs over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/gaborcsardi/secret on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing secret adds 7 packages (5 with compiled code, 2.9 MB of source tarballs). Heaviest: openssl 1.1 MB, jsonlite 1.0 MB, curl 714 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- unarchivedReturned to CRAN2020-05-07
- 1.1.0Latest
- archivedRemoved from CRAN2020-04-25check problems were not corrected in time
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 1.0.02017-06-17
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-06-17
- Total releases
- 2 / 9 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 240 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("secret")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.