Description Usage Arguments Details Value Author(s) Examples
Source apiKey list PGP encrypted R script
1 2 3 |
file |
path to gpg key file |
gpg |
path to GnuPG executable |
passphrase |
character password used for decryption. suggested to store as environment variable and use with |
shell |
if on Windows, you may need to specify the path to cmd.exe |
keep |
boolean set to TRUE if you want to keep the decoded file |
Source apiKey list PGP encrypted R script with keys for various webservices of National Statics Offices.
Creates decrypted file in the package installation folder. The key file is gpg encryped. In Windows, use GPG Plugin Portable: http://portableapps.com/apps/security/gpg-plugin-portable
Bo Werth <bo.werth@gmail.com>
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
nsoApiGPG(keep = TRUE)
file.apiKey <- system.file("apiKey.R", package = "nsoApi")
if (file.exists(file.apiKey)) {
filecon <- file(file.apiKey)
cat(paste0(readLines(con = filecon), '\n'))
close(filecon)
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.