CRAN Package Check Results for Package rscala

Last updated on 2019-11-18 23:51:34 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.2.16 21.70 98.49 120.19 OK
r-devel-linux-x86_64-debian-gcc 3.2.16 19.34 78.49 97.83 OK
r-devel-linux-x86_64-fedora-clang 3.2.16 142.31 OK
r-devel-linux-x86_64-fedora-gcc 3.2.16 139.95 OK
r-devel-windows-ix86+x86_64 3.2.16 24.00 117.00 141.00 ERROR
r-patched-linux-x86_64 3.2.16 22.01 98.58 120.59 OK
r-release-linux-x86_64 3.2.16 21.75 100.81 122.56 OK
r-release-windows-ix86+x86_64 3.2.16 9.00 119.00 128.00 ERROR
r-release-osx-x86_64 3.2.16 NOTE
r-oldrel-windows-ix86+x86_64 3.2.16 8.00 117.00 125.00 ERROR
r-oldrel-osx-x86_64 3.2.16 NOTE

Check Details

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-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' [44s]
    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' [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-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