Skip to contents

Sets the api key. Under the hood, this sets the environment variable GPTWORKR_KEY in your user's .Renviron file.

Usage

set_api_key(key = NULL)

Arguments

key

Value

Nothing

Details

An alternative approach is to edit your .Renviron manually, for example with devtools::edit_r_environ(). Then you can choose to change the project's .Renviron file with devtools::edit_r_environ(scope = "project")