CRAN Package Check Results for Package rscala

Last updated on 2019-11-12 00:52:54 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.2.16 23.07 101.94 125.01 OK
r-devel-linux-x86_64-debian-gcc 3.2.16 18.22 77.53 95.75 OK
r-devel-linux-x86_64-fedora-clang 3.2.16 140.51 OK
r-devel-linux-x86_64-fedora-gcc 3.2.16 140.04 OK
r-devel-windows-ix86+x86_64 3.2.16 16.00 105.00 121.00 ERROR
r-patched-linux-x86_64 3.2.16 23.38 98.83 122.21 OK
r-release-linux-x86_64 3.2.16 22.31 100.12 122.43 OK
r-release-windows-ix86+x86_64 3.2.16 20.00 126.00 146.00 ERROR
r-release-osx-x86_64 3.2.16 NOTE
r-oldrel-windows-ix86+x86_64 3.2.16 19.00 97.00 116.00 ERROR
r-oldrel-osx-x86_64 3.2.16 NOTE

Check Details

Version: 3.2.16
Check: tests
Result: ERROR
     Running 'testthat.R' [43s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(rscala)
     >
     > test_check("rscala")
     Starting instance. ********************************
     trying URL 'https://downloads.lightbend.com/scala/2.13.1/scala-2.13.1.tgz'
     Content type 'application/octet-stream' length 19685743 bytes (18.8 MB)
     ==================================================
     downloaded 18.8 MB
    
     trying URL 'https://downloads.lightbend.com/scala/2.13.1/scala-2.13.1.tgz'
     Content type 'application/octet-stream' length 19685743 bytes (18.8 MB)
     ==================================================
     downloaded 18.8 MB
    
     -- 1. Error: primitives work in callbacks (@tests-callbacks.R#8) --------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(x = x) * "R.evalI0(\"%-\",x)", as.integer(x))
     4. rscala:::`*.rscalaBridge`(s(x = x), "R.evalI0(\"%-\",x)")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 2. Error: length 1 vectors work in callbacks (@tests-callbacks.R#26) -------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(...)
     4. rscala:::`*.rscalaBridge`(s(x = I(x)), "R.evalI1(\"I(%-)\",x)")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 3. Error: length 2 vectors work in callbacks (@tests-callbacks.R#36) -------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(x = x) * "R.evalI1(\"%-\",x)", as.integer(x))
     4. rscala:::`*.rscalaBridge`(s(x = x), "R.evalI1(\"%-\",x)")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 4. Error: matrices work in callbacks (@tests-callbacks.R#51) ---------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(x = x) * "R.evalI2(\"%-\",x)", xi)
     4. rscala:::`*.rscalaBridge`(s(x = x), "R.evalI2(\"%-\",x)")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 5. Failure: misc. stuff works as expected (@tests-callbacks.R#59) ----------
     `s * "R.eval(\"%-\",List(1,2))"` threw an error with unexpected message.
     Expected match: "^Invocation error"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
     Backtrace:
     1. testthat::expect_error(s * "R.eval(\"%-\",List(1,2))", "^Invocation error")
     6. rscala:::`*.rscalaBridge`(s, "R.eval(\"%-\",List(1,2))")
     7. rscala:::scalaInvoke(...)
     8. rscala:::scalaConnect(details)
    
     -- 6. Error: we evaluate in the calling R environment. (@tests-callbacks.R#69)
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. rscala:::`*.rscalaBridge`(s(x = x), "R.eval(\"a <- %-\",x)")
     2. rscala:::scalaInvoke(...)
     3. rscala:::scalaConnect(details)
    
     -- 7. Error: references work (@tests-dollar.R#8) ------------------------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. s$.new_scala.util.Random()
     2. rscala:::scalaInvoke(details, snippet, list(...), parent.frame(1))
     3. rscala:::scalaConnect(details)
    
     -- 8. Error: (unknown) (@tests-lexical-scoping.R#15) --------------------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. rscala:::`^.rscalaBridge`(...)
     2. rscala:::scalaConnect(details)
    
     -- 9. Error: regular matrices transfer to Scala as expected by rows (@tests-matr
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(...)
     4. rscala:::`*.rscalaBridge`(s(m = md2by3), "m(0)")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 10. Error: regular matrices transfer to Scala as expected in full (@tests-mat
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(m = md2by3) * "m", md2by3)
     4. rscala:::`*.rscalaBridge`(s(m = md2by3), "m")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 11. Error: column vector transfer to Scala as expected by rows (@tests-matric
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(...)
     4. rscala:::`*.rscalaBridge`(s(m = md2by1), "m(0)")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 12. Error: column vector transfer to Scala as expected in full (@tests-matric
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(m = md2by1) * "m", md2by1)
     4. rscala:::`*.rscalaBridge`(s(m = md2by1), "m")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 13. Error: row vector transfer to Scala as expected by rows (@tests-matrices.
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(...)
     4. rscala:::`*.rscalaBridge`(s(m = md1by2), "m(0)")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 14. Error: row vector transfer to Scala as expected in full (@tests-matrices.
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(m = md1by2) * "m", md1by2)
     4. rscala:::`*.rscalaBridge`(s(m = md1by2), "m")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 15. Error: matrix with no columns and multipe rows transfer to Scala as expec
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(m = md2by0) * "m", md2by0)
     4. rscala:::`*.rscalaBridge`(s(m = md2by0), "m")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 16. Error: matrix with no columns and one row transfer to Scala as expected i
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(m = md1by0) * "m", md1by0)
     4. rscala:::`*.rscalaBridge`(s(m = md1by0), "m")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 17. Failure: matrix with no rows transfer to Scala as expected in full (@test
     `s(m = md0by2) * "m"` threw an error with unexpected message.
     Expected match: "^Number of rows must be at least 1"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
     Backtrace:
     1. testthat::expect_error(s(m = md0by2) * "m", "^Number of rows must be at least 1")
     6. rscala:::`*.rscalaBridge`(s(m = md0by2), "m")
     7. rscala:::scalaInvoke(...)
     8. rscala:::scalaConnect(details)
    
     -- 18. Failure: matrix with no rows transfer to Scala as expected in full (@test
     `s(m = mi0by2) * "m"` threw an error with unexpected message.
     Expected match: "^Number of rows must be at least 1"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
     Backtrace:
     1. testthat::expect_error(s(m = mi0by2) * "m", "^Number of rows must be at least 1")
     6. rscala:::`*.rscalaBridge`(s(m = mi0by2), "m")
     7. rscala:::scalaInvoke(...)
     8. rscala:::scalaConnect(details)
    
     -- 19. Failure: matrix with no rows transfer to Scala as expected in full (@test
     `s(m = ml0by2) * "m"` threw an error with unexpected message.
     Expected match: "^Number of rows must be at least 1"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
     Backtrace:
     1. testthat::expect_error(s(m = ml0by2) * "m", "^Number of rows must be at least 1")
     6. rscala:::`*.rscalaBridge`(s(m = ml0by2), "m")
     7. rscala:::scalaInvoke(...)
     8. rscala:::scalaConnect(details)
    
     -- 20. Failure: matrix with no rows transfer to Scala as expected in full (@test
     `s(m = mr0by2) * "m"` threw an error with unexpected message.
     Expected match: "^Number of rows must be at least 1"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
     Backtrace:
     1. testthat::expect_error(s(m = mr0by2) * "m", "^Number of rows must be at least 1")
     6. rscala:::`*.rscalaBridge`(s(m = mr0by2), "m")
     7. rscala:::scalaInvoke(...)
     8. rscala:::scalaConnect(details)
    
     -- 21. Failure: matrix with no rows transfer to Scala as expected in full (@test
     `s(m = mc0by2) * "m"` threw an error with unexpected message.
     Expected match: "^Number of rows must be at least 1"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
     Backtrace:
     1. testthat::expect_error(s(m = mc0by2) * "m", "^Number of rows must be at least 1")
     6. rscala:::`*.rscalaBridge`(s(m = mc0by2), "m")
     7. rscala:::scalaInvoke(...)
     8. rscala:::scalaConnect(details)
    
     -- 22. Error: Basic serialization works (@tests-object-serialization.R#12) ----
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. rscala:::myExpect(...)
     2. rscala::scalaPush(obj, method, s, ...)
     3. pushers[[method]](x, bridge, ...)
     4. bridge$.R.evalObject("x")
     5. rscala:::scalaInvoke(details, snippet, list(...), parent.frame(1))
     6. rscala:::scalaConnect(details)
    
     -- 23. Error: serialization captures output (@tests-output-serialization.R#6) -
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_silent(s2 * "print(\"Hi\")")
     9. rscala:::`*.rscalaBridge`(s2, "print(\"Hi\")")
     10. rscala:::scalaInvoke(...)
     11. rscala:::scalaConnect(details)
    
     Hello 0 from R.
     -- 24. Error: recursive callbacks work (@tests-recursion.R#46) ----------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(f(0, TRUE), 10L)
     4. rscala:::f(0, TRUE)
     6. rscala:::`*.rscalaBridge`(...)
     7. rscala:::scalaInvoke(...)
     8. rscala:::scalaConnect(details)
    
     -- 25. Error: Basic transcompilation works (@tests-transcompile.R#16) ---------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. rscala:::myExpect(...)
     2. rscala:::`^.rscalaBridge`(s, f)
     3. rscala:::scalaConnect(details)
    
     -- 26. Error: Apply and update work (@tests-transcompile.R#76) ----------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. rscala:::myExpect(function() c(11, 12, 13)[c(1, 1, 2, 2, 2, 3)])
     2. rscala:::`^.rscalaBridge`(s, f)
     3. rscala:::scalaConnect(details)
    
     -- 27. Error: More basic transcompilation works (@tests-transcompile.R#102) ---
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. rscala:::myExpect(f, list(F, F))
     2. rscala:::`^.rscalaBridge`(s, f)
     3. rscala:::scalaConnect(details)
    
     -- 28. Error: Misc. items work as expected (@tests-transcompile.R#124) --------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(...)
     4. rscala:::`^.rscalaBridge`(...)
     5. rscala:::scalaConnect(details)
    
     -- 29. Error: Scala snippets can be embedded (@tests-transcompile.R#137) ------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(...)
     4. rscala:::`^.rscalaBridge`(...)
     5. rscala:::scalaConnect(details)
    
     -- 30. Error: Recursion works (@tests-transcompile.R#146) ---------------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical((s^self)(3L), self(3L))
     4. rscala:::`^.rscalaBridge`(s, self)
     5. rscala:::scalaConnect(details)
    
     -- 31. Error: The following work: return, break, next, &&, ||, %%, %/%, T, F, !=
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_output(...)
     10. rscala:::`^.rscalaBridge`(s, f)
     11. rscala:::scalaConnect(details)
    
     -- 32. Error: length 1 as primitives, bridge without a parameter list (@tests-ve
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s * "0", 0L)
     4. rscala:::`*.rscalaBridge`(s, "0")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 33. Error: length 1 as primitives, bridge with a parameter list (@tests-vecto
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(x = 0L) * "x", 0L)
     4. rscala:::`*.rscalaBridge`(s(x = 0L), "x")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 34. Error: length 1 as vector, bridge with a parameter list (@tests-vectors.R
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(x = I(0L)) * "x(0)", 0L)
     4. rscala:::`*.rscalaBridge`(s(x = I(0L)), "x(0)")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 35. Error: length 0 as primitives, bridge with a parameter list (@tests-vecto
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(x = integer()) * "x", integer())
     4. rscala:::`*.rscalaBridge`(s(x = integer()), "x")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 36. Error: length 3 as primitives, bridge with a parameter list (@tests-vecto
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(...)
     4. rscala:::`*.rscalaBridge`(s(x = c(0L, 1L, 2L)), "x")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     == testthat results ===========================================================
     [ OK: 2 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 36 ]
     1. Error: primitives work in callbacks (@tests-callbacks.R#8)
     2. Error: length 1 vectors work in callbacks (@tests-callbacks.R#26)
     3. Error: length 2 vectors work in callbacks (@tests-callbacks.R#36)
     4. Error: matrices work in callbacks (@tests-callbacks.R#51)
     5. Failure: misc. stuff works as expected (@tests-callbacks.R#59)
     6. Error: we evaluate in the calling R environment. (@tests-callbacks.R#69)
     7. Error: references work (@tests-dollar.R#8)
     8. Error: (unknown) (@tests-lexical-scoping.R#15)
     9. Error: regular matrices transfer to Scala as expected by rows (@tests-matrices.R#12)
     1. ...
    
     Error: testthat unit tests failed
     Stopping instance. **************************
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 3.2.16
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'rscala.Rnw' using Sweave
    trying URL 'https://downloads.lightbend.com/scala/2.13.1/scala-2.13.1.tgz'
    Content type 'application/octet-stream' length 19685743 bytes (18.8 MB)
    ==================================================
    downloaded 18.8 MB
    
    
    Error: processing vignette 'rscala.Rnw' failed with diagnostics:
     chunk 7 (label = Instantiate a bridge for this document)
    Error in scalaConnect(details) : Error in scalaConfig(FALSE):
    
    <<<<<<<<<<
    <<<<<<<<<<
    <<<<<<<<<<
    
    Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
    >>>>>>>>>>
    >>>>>>>>>>
    >>>>>>>>>>
    
    
    
    --- failed re-building 'rscala.Rnw'
    
    SUMMARY: processing the following file failed:
     'rscala.Rnw'
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64

Version: 3.2.16
Check: tests
Result: ERROR
     Running 'testthat.R' [45s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(rscala)
     >
     > test_check("rscala")
     Starting instance. ********************************
     trying URL 'https://downloads.lightbend.com/scala/2.13.1/scala-2.13.1.tgz'
     Content type 'application/octet-stream' length 19685743 bytes (18.8 MB)
     ==================================================
     downloaded 18.8 MB
    
     trying URL 'https://downloads.lightbend.com/scala/2.13.1/scala-2.13.1.tgz'
     Content type 'application/octet-stream' length 19685743 bytes (18.8 MB)
     ==================================================
     downloaded 18.8 MB
    
     -- 1. Error: primitives work in callbacks (@tests-callbacks.R#8) --------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(x = x) * "R.evalI0(\"%-\",x)", as.integer(x))
     4. rscala:::`*.rscalaBridge`(s(x = x), "R.evalI0(\"%-\",x)")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 2. Error: length 1 vectors work in callbacks (@tests-callbacks.R#26) -------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(...)
     4. rscala:::`*.rscalaBridge`(s(x = I(x)), "R.evalI1(\"I(%-)\",x)")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 3. Error: length 2 vectors work in callbacks (@tests-callbacks.R#36) -------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(x = x) * "R.evalI1(\"%-\",x)", as.integer(x))
     4. rscala:::`*.rscalaBridge`(s(x = x), "R.evalI1(\"%-\",x)")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 4. Error: matrices work in callbacks (@tests-callbacks.R#51) ---------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(x = x) * "R.evalI2(\"%-\",x)", xi)
     4. rscala:::`*.rscalaBridge`(s(x = x), "R.evalI2(\"%-\",x)")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 5. Failure: misc. stuff works as expected (@tests-callbacks.R#59) ----------
     `s * "R.eval(\"%-\",List(1,2))"` threw an error with unexpected message.
     Expected match: "^Invocation error"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
     Backtrace:
     1. testthat::expect_error(s * "R.eval(\"%-\",List(1,2))", "^Invocation error")
     6. rscala:::`*.rscalaBridge`(s, "R.eval(\"%-\",List(1,2))")
     7. rscala:::scalaInvoke(...)
     8. rscala:::scalaConnect(details)
    
     -- 6. Error: we evaluate in the calling R environment. (@tests-callbacks.R#69)
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. rscala:::`*.rscalaBridge`(s(x = x), "R.eval(\"a <- %-\",x)")
     2. rscala:::scalaInvoke(...)
     3. rscala:::scalaConnect(details)
    
     -- 7. Error: references work (@tests-dollar.R#8) ------------------------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. s$.new_scala.util.Random()
     2. rscala:::scalaInvoke(details, snippet, list(...), parent.frame(1))
     3. rscala:::scalaConnect(details)
    
     -- 8. Error: (unknown) (@tests-lexical-scoping.R#15) --------------------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. rscala:::`^.rscalaBridge`(...)
     2. rscala:::scalaConnect(details)
    
     -- 9. Error: regular matrices transfer to Scala as expected by rows (@tests-matr
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(...)
     4. rscala:::`*.rscalaBridge`(s(m = md2by3), "m(0)")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 10. Error: regular matrices transfer to Scala as expected in full (@tests-mat
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(m = md2by3) * "m", md2by3)
     4. rscala:::`*.rscalaBridge`(s(m = md2by3), "m")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 11. Error: column vector transfer to Scala as expected by rows (@tests-matric
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(...)
     4. rscala:::`*.rscalaBridge`(s(m = md2by1), "m(0)")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 12. Error: column vector transfer to Scala as expected in full (@tests-matric
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(m = md2by1) * "m", md2by1)
     4. rscala:::`*.rscalaBridge`(s(m = md2by1), "m")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 13. Error: row vector transfer to Scala as expected by rows (@tests-matrices.
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(...)
     4. rscala:::`*.rscalaBridge`(s(m = md1by2), "m(0)")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 14. Error: row vector transfer to Scala as expected in full (@tests-matrices.
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(m = md1by2) * "m", md1by2)
     4. rscala:::`*.rscalaBridge`(s(m = md1by2), "m")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 15. Error: matrix with no columns and multipe rows transfer to Scala as expec
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(m = md2by0) * "m", md2by0)
     4. rscala:::`*.rscalaBridge`(s(m = md2by0), "m")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 16. Error: matrix with no columns and one row transfer to Scala as expected i
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(m = md1by0) * "m", md1by0)
     4. rscala:::`*.rscalaBridge`(s(m = md1by0), "m")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 17. Failure: matrix with no rows transfer to Scala as expected in full (@test
     `s(m = md0by2) * "m"` threw an error with unexpected message.
     Expected match: "^Number of rows must be at least 1"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
     Backtrace:
     1. testthat::expect_error(s(m = md0by2) * "m", "^Number of rows must be at least 1")
     6. rscala:::`*.rscalaBridge`(s(m = md0by2), "m")
     7. rscala:::scalaInvoke(...)
     8. rscala:::scalaConnect(details)
    
     -- 18. Failure: matrix with no rows transfer to Scala as expected in full (@test
     `s(m = mi0by2) * "m"` threw an error with unexpected message.
     Expected match: "^Number of rows must be at least 1"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
     Backtrace:
     1. testthat::expect_error(s(m = mi0by2) * "m", "^Number of rows must be at least 1")
     6. rscala:::`*.rscalaBridge`(s(m = mi0by2), "m")
     7. rscala:::scalaInvoke(...)
     8. rscala:::scalaConnect(details)
    
     -- 19. Failure: matrix with no rows transfer to Scala as expected in full (@test
     `s(m = ml0by2) * "m"` threw an error with unexpected message.
     Expected match: "^Number of rows must be at least 1"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
     Backtrace:
     1. testthat::expect_error(s(m = ml0by2) * "m", "^Number of rows must be at least 1")
     6. rscala:::`*.rscalaBridge`(s(m = ml0by2), "m")
     7. rscala:::scalaInvoke(...)
     8. rscala:::scalaConnect(details)
    
     -- 20. Failure: matrix with no rows transfer to Scala as expected in full (@test
     `s(m = mr0by2) * "m"` threw an error with unexpected message.
     Expected match: "^Number of rows must be at least 1"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
     Backtrace:
     1. testthat::expect_error(s(m = mr0by2) * "m", "^Number of rows must be at least 1")
     6. rscala:::`*.rscalaBridge`(s(m = mr0by2), "m")
     7. rscala:::scalaInvoke(...)
     8. rscala:::scalaConnect(details)
    
     -- 21. Failure: matrix with no rows transfer to Scala as expected in full (@test
     `s(m = mc0by2) * "m"` threw an error with unexpected message.
     Expected match: "^Number of rows must be at least 1"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
     Backtrace:
     1. testthat::expect_error(s(m = mc0by2) * "m", "^Number of rows must be at least 1")
     6. rscala:::`*.rscalaBridge`(s(m = mc0by2), "m")
     7. rscala:::scalaInvoke(...)
     8. rscala:::scalaConnect(details)
    
     -- 22. Error: Basic serialization works (@tests-object-serialization.R#12) ----
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. rscala:::myExpect(...)
     2. rscala::scalaPush(obj, method, s, ...)
     3. pushers[[method]](x, bridge, ...)
     4. bridge$.R.evalObject("x")
     5. rscala:::scalaInvoke(details, snippet, list(...), parent.frame(1))
     6. rscala:::scalaConnect(details)
    
     -- 23. Error: serialization captures output (@tests-output-serialization.R#6) -
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_silent(s2 * "print(\"Hi\")")
     9. rscala:::`*.rscalaBridge`(s2, "print(\"Hi\")")
     10. rscala:::scalaInvoke(...)
     11. rscala:::scalaConnect(details)
    
     Hello 0 from R.
     -- 24. Error: recursive callbacks work (@tests-recursion.R#46) ----------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(f(0, TRUE), 10L)
     4. rscala:::f(0, TRUE)
     6. rscala:::`*.rscalaBridge`(...)
     7. rscala:::scalaInvoke(...)
     8. rscala:::scalaConnect(details)
    
     -- 25. Error: Basic transcompilation works (@tests-transcompile.R#16) ---------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. rscala:::myExpect(...)
     2. rscala:::`^.rscalaBridge`(s, f)
     3. rscala:::scalaConnect(details)
    
     -- 26. Error: Apply and update work (@tests-transcompile.R#76) ----------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. rscala:::myExpect(function() c(11, 12, 13)[c(1, 1, 2, 2, 2, 3)])
     2. rscala:::`^.rscalaBridge`(s, f)
     3. rscala:::scalaConnect(details)
    
     -- 27. Error: More basic transcompilation works (@tests-transcompile.R#102) ---
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. rscala:::myExpect(f, list(F, F))
     2. rscala:::`^.rscalaBridge`(s, f)
     3. rscala:::scalaConnect(details)
    
     -- 28. Error: Misc. items work as expected (@tests-transcompile.R#124) --------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(...)
     4. rscala:::`^.rscalaBridge`(...)
     5. rscala:::scalaConnect(details)
    
     -- 29. Error: Scala snippets can be embedded (@tests-transcompile.R#137) ------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(...)
     4. rscala:::`^.rscalaBridge`(...)
     5. rscala:::scalaConnect(details)
    
     -- 30. Error: Recursion works (@tests-transcompile.R#146) ---------------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical((s^self)(3L), self(3L))
     4. rscala:::`^.rscalaBridge`(s, self)
     5. rscala:::scalaConnect(details)
    
     -- 31. Error: The following work: return, break, next, &&, ||, %%, %/%, T, F, !=
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_output(...)
     10. rscala:::`^.rscalaBridge`(s, f)
     11. rscala:::scalaConnect(details)
    
     -- 32. Error: length 1 as primitives, bridge without a parameter list (@tests-ve
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s * "0", 0L)
     4. rscala:::`*.rscalaBridge`(s, "0")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 33. Error: length 1 as primitives, bridge with a parameter list (@tests-vecto
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(x = 0L) * "x", 0L)
     4. rscala:::`*.rscalaBridge`(s(x = 0L), "x")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 34. Error: length 1 as vector, bridge with a parameter list (@tests-vectors.R
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(x = I(0L)) * "x(0)", 0L)
     4. rscala:::`*.rscalaBridge`(s(x = I(0L)), "x(0)")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 35. Error: length 0 as primitives, bridge with a parameter list (@tests-vecto
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(s(x = integer()) * "x", integer())
     4. rscala:::`*.rscalaBridge`(s(x = integer()), "x")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     -- 36. Error: length 3 as primitives, bridge with a parameter list (@tests-vecto
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     Backtrace:
     1. testthat::expect_identical(...)
     4. rscala:::`*.rscalaBridge`(s(x = c(0L, 1L, 2L)), "x")
     5. rscala:::scalaInvoke(...)
     6. rscala:::scalaConnect(details)
    
     == testthat results ===========================================================
     [ OK: 2 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 36 ]
     1. Error: primitives work in callbacks (@tests-callbacks.R#8)
     2. Error: length 1 vectors work in callbacks (@tests-callbacks.R#26)
     3. Error: length 2 vectors work in callbacks (@tests-callbacks.R#36)
     4. Error: matrices work in callbacks (@tests-callbacks.R#51)
     5. Failure: misc. stuff works as expected (@tests-callbacks.R#59)
     6. Error: we evaluate in the calling R environment. (@tests-callbacks.R#69)
     7. Error: references work (@tests-dollar.R#8)
     8. Error: (unknown) (@tests-lexical-scoping.R#15)
     9. Error: regular matrices transfer to Scala as expected by rows (@tests-matrices.R#12)
     1. ...
    
     Error: testthat unit tests failed
     Stopping instance. **************************
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 3.2.16
Check: installed package size
Result: NOTE
     installed size is 21.4Mb
     sub-directories of 1Mb or more:
     dependencies 20.2Mb
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 3.2.16
Check: tests
Result: ERROR
     Running 'testthat.R' [40s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(rscala)
     >
     > test_check("rscala")
     Starting instance. ********************************
     trying URL 'https://downloads.lightbend.com/scala/2.13.1/scala-2.13.1.tgz'
     Content type 'application/octet-stream' length 19685743 bytes (18.8 MB)
     ==================================================
     downloaded 18.8 MB
    
     trying URL 'https://downloads.lightbend.com/scala/2.13.1/scala-2.13.1.tgz'
     Content type 'application/octet-stream' length 19685743 bytes (18.8 MB)
     ==================================================
     downloaded 18.8 MB
    
     -- 1. Error: primitives work in callbacks (@tests-callbacks.R#8) --------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(s(x = x) * "R.evalI0(\"%-\",x)", as.integer(x)) at testthat/tests-callbacks.R:8
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `*.rscalaBridge`(s(x = x), "R.evalI0(\"%-\",x)")
     5: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     -- 2. Error: length 1 vectors work in callbacks (@tests-callbacks.R#26) -------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(s(x = I(x)) * "R.evalI1(\"I(%-)\",x)", as.integer(x)) at testthat/tests-callbacks.R:26
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `*.rscalaBridge`(s(x = I(x)), "R.evalI1(\"I(%-)\",x)")
     5: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     -- 3. Error: length 2 vectors work in callbacks (@tests-callbacks.R#36) -------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(s(x = x) * "R.evalI1(\"%-\",x)", as.integer(x)) at testthat/tests-callbacks.R:36
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `*.rscalaBridge`(s(x = x), "R.evalI1(\"%-\",x)")
     5: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     -- 4. Error: matrices work in callbacks (@tests-callbacks.R#51) ---------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(s(x = x) * "R.evalI2(\"%-\",x)", xi) at testthat/tests-callbacks.R:51
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `*.rscalaBridge`(s(x = x), "R.evalI2(\"%-\",x)")
     5: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     -- 5. Failure: misc. stuff works as expected (@tests-callbacks.R#59) ----------
     `s * "R.eval(\"%-\",List(1,2))"` threw an error with unexpected message.
     Expected match: "^Invocation error"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
    
     -- 6. Error: we evaluate in the calling R environment. (@tests-callbacks.R#69)
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: `*.rscalaBridge`(s(x = x), "R.eval(\"a <- %-\",x)") at testthat/tests-callbacks.R:69
     2: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     3: scalaConnect(details)
     4: stop(toString(details[["config"]]$error))
    
     -- 7. Error: references work (@tests-dollar.R#8) ------------------------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: s$.new_scala.util.Random() at testthat/tests-dollar.R:8
     2: scalaInvoke(details, snippet, list(...), parent.frame(1))
     3: scalaConnect(details)
     4: stop(toString(details[["config"]]$error))
    
     -- 8. Error: (unknown) (@tests-lexical-scoping.R#15) --------------------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: `^.rscalaBridge`(s(x = 1, y), function() {
     z <- evalD0("z")
     x + y * z
     }) at testthat/tests-lexical-scoping.R:15
     2: scalaConnect(details)
     3: stop(toString(details[["config"]]$error))
    
     -- 9. Error: regular matrices transfer to Scala as expected by rows (@tests-matr
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(s(m = md2by3) * "m(0)", md2by3[1, ]) at testthat/tests-matrices.R:12
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `*.rscalaBridge`(s(m = md2by3), "m(0)")
     5: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     -- 10. Error: regular matrices transfer to Scala as expected in full (@tests-mat
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(s(m = md2by3) * "m", md2by3) at testthat/tests-matrices.R:21
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `*.rscalaBridge`(s(m = md2by3), "m")
     5: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     -- 11. Error: column vector transfer to Scala as expected by rows (@tests-matric
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(s(m = md2by1) * "m(0)", md2by1[1, ]) at testthat/tests-matrices.R:35
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `*.rscalaBridge`(s(m = md2by1), "m(0)")
     5: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     -- 12. Error: column vector transfer to Scala as expected in full (@tests-matric
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(s(m = md2by1) * "m", md2by1) at testthat/tests-matrices.R:43
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `*.rscalaBridge`(s(m = md2by1), "m")
     5: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     -- 13. Error: row vector transfer to Scala as expected by rows (@tests-matrices.
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(s(m = md1by2) * "m(0)", md1by2[1, ]) at testthat/tests-matrices.R:57
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `*.rscalaBridge`(s(m = md1by2), "m(0)")
     5: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     -- 14. Error: row vector transfer to Scala as expected in full (@tests-matrices.
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(s(m = md1by2) * "m", md1by2) at testthat/tests-matrices.R:65
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `*.rscalaBridge`(s(m = md1by2), "m")
     5: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     -- 15. Error: matrix with no columns and multipe rows transfer to Scala as expec
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(s(m = md2by0) * "m", md2by0) at testthat/tests-matrices.R:79
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `*.rscalaBridge`(s(m = md2by0), "m")
     5: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     -- 16. Error: matrix with no columns and one row transfer to Scala as expected i
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(s(m = md1by0) * "m", md1by0) at testthat/tests-matrices.R:93
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `*.rscalaBridge`(s(m = md1by0), "m")
     5: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     -- 17. Failure: matrix with no rows transfer to Scala as expected in full (@test
     `s(m = md0by2) * "m"` threw an error with unexpected message.
     Expected match: "^Number of rows must be at least 1"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
    
     -- 18. Failure: matrix with no rows transfer to Scala as expected in full (@test
     `s(m = mi0by2) * "m"` threw an error with unexpected message.
     Expected match: "^Number of rows must be at least 1"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
    
     -- 19. Failure: matrix with no rows transfer to Scala as expected in full (@test
     `s(m = ml0by2) * "m"` threw an error with unexpected message.
     Expected match: "^Number of rows must be at least 1"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
    
     -- 20. Failure: matrix with no rows transfer to Scala as expected in full (@test
     `s(m = mr0by2) * "m"` threw an error with unexpected message.
     Expected match: "^Number of rows must be at least 1"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
    
     -- 21. Failure: matrix with no rows transfer to Scala as expected in full (@test
     `s(m = mc0by2) * "m"` threw an error with unexpected message.
     Expected match: "^Number of rows must be at least 1"
     Actual message: "Error in scalaConfig(FALSE): \n\n<<<<<<<<<<\n<<<<<<<<<<\n<<<<<<<<<<\n\nScala is not found! Please run 'rscala::scalaConfig(download=\"scala\")'\n\n>>>>>>>>>>\n>>>>>>>>>>\n>>>>>>>>>>\n\n"
    
     -- 22. Error: Basic serialization works (@tests-object-serialization.R#12) ----
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: myExpect(list(a = 1, b = c(TRUE, FALSE), c = I(3)), "generic", as.is = TRUE) at testthat/tests-object-serialization.R:12
     2: scalaPush(obj, method, s, ...) at testthat/tests-object-serialization.R:6
     3: pushers[[method]](x, bridge, ...)
     4: bridge$.R.evalObject("x")
     5: scalaInvoke(details, snippet, list(...), parent.frame(1))
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     -- 23. Error: serialization captures output (@tests-output-serialization.R#6) -
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_silent(s2 * "print(\"Hi\")") at testthat/tests-output-serialization.R:6
     2: quasi_capture(enquo(object), NULL, evaluate_promise)
     3: .capture(act$val <- eval_bare(get_expr(.quo), get_env(.quo)), ...)
     4: withr::with_output_sink(temp, withCallingHandlers(withVisible(code), warning = handle_warning,
     message = handle_message))
     5: force(code)
     6: withCallingHandlers(withVisible(code), warning = handle_warning, message = handle_message)
     7: withVisible(code)
     8: eval_bare(get_expr(.quo), get_env(.quo))
     9: `*.rscalaBridge`(s2, "print(\"Hi\")")
     10: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     11: scalaConnect(details)
     12: stop(toString(details[["config"]]$error))
    
     Hello 0 from R.
     -- 24. Error: recursive callbacks work (@tests-recursion.R#46) ----------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(f(0, TRUE), 10L) at testthat/tests-recursion.R:46
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: f(0, TRUE)
     5: f(s(counter = as.integer(counter[1]), verbose = verbose) * "\n if ( verbose ) println(\"Hello %s from Scala.\".format(counter))\n R.evalI0(\"%- + 1L\",counter)\n ",
     verbose = verbose) at testthat/tests-recursion.R:8
     6: `*.rscalaBridge`(s(counter = as.integer(counter[1]), verbose = verbose), "\n if ( verbose ) println(\"Hello %s from Scala.\".format(counter))\n R.evalI0(\"%- + 1L\",counter)\n ") at testthat/tests-recursion.R:6
     7: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     8: scalaConnect(details)
     9: stop(toString(details[["config"]]$error))
    
     -- 25. Error: Basic transcompilation works (@tests-transcompile.R#16) ---------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: myExpect(function() {
     numeric(4)
     }) at testthat/tests-transcompile.R:16
     2: `^.rscalaBridge`(s, f) at testthat/tests-transcompile.R:6
     3: scalaConnect(details)
     4: stop(toString(details[["config"]]$error))
    
     -- 26. Error: Apply and update work (@tests-transcompile.R#76) ----------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: myExpect(function() c(11, 12, 13)[c(1, 1, 2, 2, 2, 3)]) at testthat/tests-transcompile.R:76
     2: `^.rscalaBridge`(s, f) at testthat/tests-transcompile.R:6
     3: scalaConnect(details)
     4: stop(toString(details[["config"]]$error))
    
     -- 27. Error: More basic transcompilation works (@tests-transcompile.R#102) ---
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: myExpect(f, list(F, F)) at testthat/tests-transcompile.R:102
     2: `^.rscalaBridge`(s, f) at testthat/tests-transcompile.R:6
     3: scalaConnect(details)
     4: stop(toString(details[["config"]]$error))
    
     -- 28. Error: Misc. items work as expected (@tests-transcompile.R#124) --------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(x <- {
     r <- s()^function(x = scalaType("Array[Boolean]")) {
     mean(x)
     }
     r(c(T, F, T, T, F))
     }, mean(c(T, F, T, T, F))) at testthat/tests-transcompile.R:124
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `^.rscalaBridge`(s(), function(x = scalaType("Array[Boolean]")) {
     mean(x)
     }) at testthat/tests-transcompile.R:124
     5: scalaConnect(details)
     6: stop(toString(details[["config"]]$error))
    
     -- 29. Error: Scala snippets can be embedded (@tests-transcompile.R#137) ------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical((s^function() {
     a = 1:13
     I("a.sum")
     })(), sum(1:13)) at testthat/tests-transcompile.R:137
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `^.rscalaBridge`(s, function() {
     a = 1:13
     I("a.sum")
     })
     5: scalaConnect(details)
     6: stop(toString(details[["config"]]$error))
    
     -- 30. Error: Recursion works (@tests-transcompile.R#146) ---------------------
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical((s^self)(3L), self(3L)) at testthat/tests-transcompile.R:146
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `^.rscalaBridge`(s, self)
     5: scalaConnect(details)
     6: stop(toString(details[["config"]]$error))
    
     -- 31. Error: The following work: return, break, next, &&, ||, %%, %/%, T, F, !=
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_output((s^f)(3.1, T, T, T), capture.output(invisible(f(3.1, T, T, T))), fixed = TRUE) at testthat/tests-transcompile.R:163
     2: quasi_capture(enquo(object), label, capture_output, width = width)
     3: .capture(act$val <- eval_bare(get_expr(.quo), get_env(.quo)), ...)
     4: capture_output_lines(code, print, width = width)
     5: eval_with_output(code, print = print, width = width)
     6: withr::with_output_sink(temp, withVisible(code))
     7: force(code)
     8: withVisible(code)
     9: eval_bare(get_expr(.quo), get_env(.quo))
     10: `^.rscalaBridge`(s, f)
     11: scalaConnect(details)
     12: stop(toString(details[["config"]]$error))
    
     -- 32. Error: length 1 as primitives, bridge without a parameter list (@tests-ve
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(s * "0", 0L) at testthat/tests-vectors.R:6
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `*.rscalaBridge`(s, "0")
     5: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     -- 33. Error: length 1 as primitives, bridge with a parameter list (@tests-vecto
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(s(x = 0L) * "x", 0L) at testthat/tests-vectors.R:19
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `*.rscalaBridge`(s(x = 0L), "x")
     5: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     -- 34. Error: length 1 as vector, bridge with a parameter list (@tests-vectors.R
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(s(x = I(0L)) * "x(0)", 0L) at testthat/tests-vectors.R:32
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `*.rscalaBridge`(s(x = I(0L)), "x(0)")
     5: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     -- 35. Error: length 0 as primitives, bridge with a parameter list (@tests-vecto
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(s(x = integer()) * "x", integer()) at testthat/tests-vectors.R:45
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `*.rscalaBridge`(s(x = integer()), "x")
     5: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     -- 36. Error: length 3 as primitives, bridge with a parameter list (@tests-vecto
    
    
     <<<<<<<<<<
     <<<<<<<<<<
     <<<<<<<<<<
    
     Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
     >>>>>>>>>>
     >>>>>>>>>>
     >>>>>>>>>>
    
     1: expect_identical(s(x = c(0L, 1L, 2L)) * "x", c(0L, 1L, 2L)) at testthat/tests-vectors.R:53
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: `*.rscalaBridge`(s(x = c(0L, 1L, 2L)), "x")
     5: scalaInvoke(details, snippet, args, parent.frame(1), withNames = TRUE)
     6: scalaConnect(details)
     7: stop(toString(details[["config"]]$error))
    
     == testthat results ===========================================================
     [ OK: 2 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 36 ]
     1. Error: primitives work in callbacks (@tests-callbacks.R#8)
     2. Error: length 1 vectors work in callbacks (@tests-callbacks.R#26)
     3. Error: length 2 vectors work in callbacks (@tests-callbacks.R#36)
     4. Error: matrices work in callbacks (@tests-callbacks.R#51)
     5. Failure: misc. stuff works as expected (@tests-callbacks.R#59)
     6. Error: we evaluate in the calling R environment. (@tests-callbacks.R#69)
     7. Error: references work (@tests-dollar.R#8)
     8. Error: (unknown) (@tests-lexical-scoping.R#15)
     9. Error: regular matrices transfer to Scala as expected by rows (@tests-matrices.R#12)
     1. ...
    
     Error: testthat unit tests failed
     Stopping instance. **************************
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 3.2.16
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    trying URL 'https://downloads.lightbend.com/scala/2.13.1/scala-2.13.1.tgz'
    Content type 'application/octet-stream' length 19685743 bytes (18.8 MB)
    ==================================================
    downloaded 18.8 MB
    
    
    Error: processing vignette 'rscala.Rnw' failed with diagnostics:
     chunk 7 (label = Instantiate a bridge for this document)
    Error in scalaConnect(details) : Error in scalaConfig(FALSE):
    
    <<<<<<<<<<
    <<<<<<<<<<
    <<<<<<<<<<
    
    Scala is not found! Please run 'rscala::scalaConfig(download="scala")'
    
    >>>>>>>>>>
    >>>>>>>>>>
    >>>>>>>>>>
    
    
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64