Running 'testthat.R' [22s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(commonsMath)
  > 
  > test_check("commonsMath")
  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
  
  -- 1. Error: sample function (@tests-transcompile.R#26)  -----------------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. commonsMath:::myExpectLength(function() sample(c(3, 2, 1)))
   2. rscala:::`^.rscalaBridge`(s, f)
   3. rscala:::scalaConnect(details)
  
  -- 2. Error: special functions (@tests-transcompile.R#43)  ---------------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. commonsMath:::myExpect(...)
   2. rscala:::`^.rscalaBridge`(s, f)
   3. rscala:::scalaConnect(details)
  
  -- 3. Error: uniform distribution (@tests-transcompile.R#91)  ------------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. commonsMath:::myExpect(...)
   2. rscala:::`^.rscalaBridge`(s, f)
   3. rscala:::scalaConnect(details)
  
  -- 4. Error: normal distribution (@tests-transcompile.R#103)  ------------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. commonsMath:::myExpect(...)
   2. rscala:::`^.rscalaBridge`(s, f)
   3. rscala:::scalaConnect(details)
  
  -- 5. Error: gamma distribution (@tests-transcompile.R#115)  -------------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. commonsMath:::myExpect(...)
   2. rscala:::`^.rscalaBridge`(s, f)
   3. rscala:::scalaConnect(details)
  
  -- 6. Error: exponential distribution (@tests-transcompile.R#127)  -------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. commonsMath:::myExpect(...)
   2. rscala:::`^.rscalaBridge`(s, f)
   3. rscala:::scalaConnect(details)
  
  -- 7. Error: beta distribution (@tests-transcompile.R#139)  --------------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. commonsMath:::myExpect(...)
   2. rscala:::`^.rscalaBridge`(s, f)
   3. rscala:::scalaConnect(details)
  
  -- 8. Error: t distribution (@tests-transcompile.R#151)  -----------------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. commonsMath:::myExpect(...)
   2. rscala:::`^.rscalaBridge`(s, f)
   3. rscala:::scalaConnect(details)
  
  -- 9. Error: chi squared distribution (@tests-transcompile.R#163)  -------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. commonsMath:::myExpect(...)
   2. rscala:::`^.rscalaBridge`(s, f)
   3. rscala:::scalaConnect(details)
  
  -- 10. Error: F distribution (@tests-transcompile.R#175)  ----------------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. commonsMath:::myExpect(...)
   2. rscala:::`^.rscalaBridge`(s, f)
   3. rscala:::scalaConnect(details)
  
  -- 11. Error: geometric distribution (@tests-transcompile.R#187)  --------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. commonsMath:::myExpect(...)
   2. rscala:::`^.rscalaBridge`(s, f)
   3. rscala:::scalaConnect(details)
  
  -- 12. Error: binomial distribution (@tests-transcompile.R#199)  ---------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. commonsMath:::myExpect(...)
   2. rscala:::`^.rscalaBridge`(s, f)
   3. rscala:::scalaConnect(details)
  
  -- 13. Error: negative binomial distribution (@tests-transcompile.R#211)  ------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. commonsMath:::myExpect(...)
   2. rscala:::`^.rscalaBridge`(s, f)
   3. rscala:::scalaConnect(details)
  
  -- 14. Error: poisson distribution (@tests-transcompile.R#223)  ----------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. commonsMath:::myExpect(...)
   2. rscala:::`^.rscalaBridge`(s, f)
   3. rscala:::scalaConnect(details)
  
  == testthat results  ===========================================================
  [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 14 ]
  1. Error: sample function (@tests-transcompile.R#26) 
  2. Error: special functions (@tests-transcompile.R#43) 
  3. Error: uniform distribution (@tests-transcompile.R#91) 
  4. Error: normal distribution (@tests-transcompile.R#103) 
  5. Error: gamma distribution (@tests-transcompile.R#115) 
  6. Error: exponential distribution (@tests-transcompile.R#127) 
  7. Error: beta distribution (@tests-transcompile.R#139) 
  8. Error: t distribution (@tests-transcompile.R#151) 
  9. Error: chi squared distribution (@tests-transcompile.R#163) 
  1. ...
  
  Error: testthat unit tests failed
  Stopping instance. **************************
  Execution halted