View source: R/snif_secrets_pkg.R
sniff_secrets_pkg | R Documentation |
Scan for secrets in a package
sniff_secrets_pkg(dir = ".", secrets)
dir |
(character) path to a package root. required |
secrets |
(character) vector of secrets to look for. required |
named list of all secrets, each either an empty list if none found, or a named list of files and the line numbers secrets found on
## Not run: pkgpath = tempdir() sniff_secrets_pkg(dir = pkgpath, secrets = c("mysecretkey")) unlink(pkgpath) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.