Skip to content

Commit

Permalink
removed automated checks with Amazon
Browse files Browse the repository at this point in the history
  • Loading branch information
seankross committed Feb 8, 2020
1 parent d407994 commit 1368f3a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
4 changes: 1 addition & 3 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@

## R CMD check results

0 errors | 0 warnings | 1 note

* Suggests orphaned package: 'aws.polly'
0 errors | 0 warnings | 0 notes
14 changes: 10 additions & 4 deletions tests/testthat.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,19 @@ library(tuneR)
library(purrr)

skip_amazon_not_authorized = function() {
# Skip if on CRAN
if(!identical(Sys.getenv("NOT_CRAN"), "true")) {
skip("Amazon not authenticated()")
}

if (text2speech::tts_amazon_authenticated()) {
return(invisible(TRUE))
}

# Skip if Amazon is not authorized
# if (text2speech::tts_amazon_authenticated()) {
# 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 1368f3a

Please sign in to comment.