.onLoad <- function(libname, pkgname) {
# Error if gpg is not installed or cannot be run from the terminal
if(!system2("gpg", "--version", stdout = FALSE, stderr = FALSE) == 0){
stop(
"Please install GPG first or check if GPG can be run from the command line.
The rcrypt package is just an interface to GPG. See https://gnupg.org/ for
installation guidelines."
)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.