Skip to content

secret

1.1.0Package record

Share Sensitive Information in R Packages

0packages dependsuggested by 2
6.8Kdownloads / year
99.6%test coverage
13/13flavors OK

Overview

About

Allow sharing sensitive information, for example passwords, 'API' keys, etc., in R packages, using public key cryptography.

Changes in 1.1.0
  • New functions get_github_key() and get_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 if vault is not specified (#22, @AlexAxthelm).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.1.0
READMENoVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.1.0Citation fileNoWebsitenot declared in DESCRIPTION
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

6.8K
CRAN downloads in the past year
Rank #9,312 · ~19/day · ~569/mo
Daily download trend is not available in this view yet.
33030 days
1.1K90 days
6.8K1 year
Compare downloads with other packages →
Also on81 r2u5 autocran604 conda_forge

Repository

102Stars
16Forks
12Open issues
3Open PRs
0Releases
120Commits
5Commit identities
120 commits · Last activity 2020-05-07 · Default branch at 1.1.0.9000, ahead of CRAN 1.1.0 (checked 2026-10-21)
Responsiveness
How these are sampled
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

2024-11-26 · 1012026-07-07 · 102
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Reproducibility and dev environment (1)
Makefile
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

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.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 2
Suggests, most downloaded first

People & History

People (2)
Author, Maintainer since 1.0.0 (2017)
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • unarchivedReturned to CRAN
    2020-05-07
  • 1.1.0Latest
    record
    2020-05-07 · current release · diff ↗ ·
    added 2 exports
    get_github_key, get_travis_key
  • archivedRemoved from CRAN
    2020-04-25
    check problems were not corrected in time
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0.0
    record
    2017-06-17
  • R
    R 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")
Csárdi, G., & de Vries, A. (2020). secret: Share Sensitive Information in R Packages (Version 1.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for secret version 1.1.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