cloudyr / aws.polly

Client for AWS Polly
https://cloud.r-project.org/package=aws.polly
23 stars 6 forks source link

Could not find function locate_credentials() #3

Closed dkincaid closed 6 years ago

dkincaid commented 6 years ago

Installed the package from Github using devtools::install_github("cloudyr/aws.polly"). Then ran the following example from the README:

> library("aws.polly")
> vec <- synthesize("Hello world!", voice = "Joanna")

and get the following error:

Error in locate_credentials(key = key, secret = secret, session_token = session_token,  : 
  could not find function "locate_credentials"

if I manually load the aws.signature package using library("aws.signature") then it works.

leeper commented 6 years ago

Oops, sorry about that. Please reinstall from GitHub.

dkincaid commented 6 years ago

Dang! That was a fast fix! Thanks. This is the coolest thing I've seen in a while!