set_api_key {newsanchor} | R Documentation |
Add API key to the .Renviron
Description
Function to set you API Key to the R environment when starting using newsanchor
package. Attention: You should only execute this functions once.
Usage
set_api_key(path = stop("Please specify a path."))
Arguments
path |
character. Path where the environment is stored. Default is the normalized path. |
Value
None.
Author(s)
Jan Dix <jan.d@correlaid.org>
Examples
## Not run:
set_api_key(tempdir()) # you will be prompted to enter your API key.
## End(Not run)
[Package newsanchor version 0.1.1 Index]