Skip to content

secret

Share Sensitive Information in R Packages

v1.1.0 · May 7, 2020 · MIT + file LICENSE

Description

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

Downloads

CRAN

675

Last 30 days

4981st

2K

Last 90 days

8.2K

Last year

Trend: +4.5% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

24

Last 90 days

119

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

10

Last 7 days

19

Last 30 days

7

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

conda-forge CRAN

47

Last 30 days

142

Last 90 days

757

Last year

Trend: -39% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

'LazyData' is specified without a 'data' directory

Code

Structure

Lines of code

2,767

Files

61

Compiled share

0%

Has compiled src

No

Language breakdown

R 871 (31.5%)Tests 715 (25.8%)Docs 1,165 (42.1%)Vignettes 16 (0.6%)

API

Exported functions

18

Internal functions

28

Recent export changes

v1.1.0+2 get_github_key, get_travis_key
v1.0.0+16 add_github_user, add_secret, add_travis_user +13 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.82

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

23.5%

\dontrun example ratio

100%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2017-06-17

Latest release

2020-05-07

Avg cadence

1055 days

Cold removal rate

Dep drift

0

LOC over versions

v1.0.0: 2,573 LOCv1.1.0: 2,767 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (2)

Dependency Network

Dependencies Reverse dependencies assertthat openssl rprojroot curl jsonlite REDCapExporter acledR secret

Version History

3 tracked
new 1.1.0 Mar 10, 2026
updated 1.1.0 ← 1.0.0 diff May 6, 2020
new 1.0.0 Jun 16, 2017