Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(awsjavasdk)
  awsjavasdk did not detect its own copy of the AWS SDK. You must execute install_aws_sdk() in order to download the SDK and for the package to work as expected. If you've previously installed to a non-standard location, call set_sdk_file_root({{your alt_install root}}, confirm = TRUE) to point this package to that location and then run awsjavasdk::load_sdk()
  > 
  > test_check("awsjavasdk")
  trying URL 'https://sdk-for-java.amazonwebservices.com/latest/aws-java-sdk.zip'
  Content type 'application/zip' length 628116824 bytes (599.0 MB)
  -- 1. Error: Alternate install location (@test-awsjavasdk.R#62)  ---------------
  write failed
  Backtrace:
   1. testthat::expect_true(install_aws_sdk(alt_install))
   4. awsjavasdk::install_aws_sdk(alt_install)
   5. utils::download.file(...)
  
  -- 2. Error: (unknown) (@test-awsjavasdk.R#70)  --------------------------------
  no field, method or inner class called 'handled' 
  Backtrace:
    1. testthat::test_check("awsjavasdk")
    2. testthat:::test_package_dir(...)
    3. testthat::test_dir(...)
    4. testthat:::test_files(...)
   10. base::lapply(...)
   11. testthat:::FUN(X[[i]], ...)
   17. testthat::source_file(...)
   18. testthat:::test_code(NULL, exprs, env)
   27. [ base::eval(...) ] with 1 more call
   29. testthat::test_that(...)
   30. testthat:::test_code(desc, code, env = parent.frame())
   31. base::tryCatch(...)
   32. base:::tryCatchList(expr, classes, parentenv, handlers)
   35. base:::tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
   36. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   37. value[[3L]](cond)
   40. rJava:::`$.Throwable`(e, "handled")
   41. rJava:::._jobjRef_dollar(x[["jobj"]], name)
  
  == testthat results  ===========================================================
  [ OK: 2 | SKIPPED: 5 | WARNINGS: 0 | FAILED: 2 ]
  1. Error: Alternate install location (@test-awsjavasdk.R#62) 
  2. Error: (unknown) (@test-awsjavasdk.R#70) 
  
  Error: testthat unit tests failed
  Execution halted