Before anything else, get the API key from https://www.virustotal.com/en/.
Next, use set_key
to store the API key in an environment variable VirustotalToken
.
Once you have set the API key, you can use any of the functions.
set_key(api_key = NULL)
if (FALSE) { # \dontrun{
set_key('api_key_here')
} # }