Skip to content

Commit

Permalink
Address devtools::check()
Browse files Browse the repository at this point in the history
  • Loading branch information
howardbaek committed Jun 5, 2023
1 parent fda78e2 commit ad31385
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
^CRAN-RELEASE$
^appveyor\.yml$
^ari\.Rproj$
^\.github$
4 changes: 2 additions & 2 deletions tests/testthat.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ skip_amazon_not_authorized = function() {
}

if (requireNamespace("aws.polly", quietly = TRUE)) {
if (text2speech::tts_amazon_authenticated()) {
if (text2speech::tts_auth(service = "amazon")) {
return(invisible(TRUE))
}
}

# Eventually test2speech will be updated so that it no longer needs
# the aws.polly package. Until then we need to skip these tests during
# automated tests.

skip("Amazon not authenticated()")
}

Expand Down

0 comments on commit ad31385

Please sign in to comment.