Running 'testthat.R' [29s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 
  > test_check("aibd")
  Loading required package: aibd
  ************ Starting tests at level 1 (extensive=FALSE). ************
  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: (unknown) (@test-aibd-pmf.R#10)  ----------------------------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. aibd:::enumerateFeatureAllocations(nItems, maxNFeatures)
   2. s$FA.enumerate(as.integer(nItems[1]), as.integer(maxNFeatures[1]))
   3. rscala:::scalaInvoke(details, snippet, list(...), parent.frame(1))
   4. rscala:::scalaConnect(details)
  
  -- 2. Error: (unknown) (@test-aibd-reduces-to-ibp.R#8)  ------------------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. aibd:::enumerateFeatureAllocations(nItems, maxNFeatures)
   2. s$FA.enumerate(as.integer(nItems[1]), as.integer(maxNFeatures[1]))
   3. rscala:::scalaInvoke(details, snippet, list(...), parent.frame(1))
   4. rscala:::scalaConnect(details)
  
  -- 3. Error: (unknown) (@test-dist-numFeatures.R#16)  --------------------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. aibd:::enumerateFeatureAllocations(nItems, max_F)
   2. s$FA.enumerate(as.integer(nItems[1]), as.integer(maxNFeatures[1]))
   3. rscala:::scalaInvoke(details, snippet, list(...), parent.frame(1))
   4. rscala:::scalaConnect(details)
  
  -- 4. Error: (unknown) (@test-ibp-pmf.R#8)  ------------------------------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. aibd:::enumerateFeatureAllocations(nItems, maxNFeatures)
   2. s$FA.enumerate(as.integer(nItems[1]), as.integer(maxNFeatures[1]))
   3. rscala:::scalaInvoke(details, snippet, list(...), parent.frame(1))
   4. rscala:::scalaConnect(details)
  
  -- 5. Error: (unknown) (@test-lglfm-posterior.R#16)  ---------------------------
  
  
  <<<<<<<<<<
  <<<<<<<<<<
  <<<<<<<<<<
  
  Scala is not found!  Please run 'rscala::scalaConfig(download="scala")'
  
  >>>>>>>>>>
  >>>>>>>>>>
  >>>>>>>>>>
  
  Backtrace:
   1. aibd:::enumerateFeatureAllocations(nItems, maxNFeatures)
   2. s$FA.enumerate(as.integer(nItems[1]), as.integer(maxNFeatures[1]))
   3. rscala:::scalaInvoke(details, snippet, list(...), parent.frame(1))
   4. rscala:::scalaConnect(details)
  
  == testthat results  ===========================================================
  [ OK: 0 | SKIPPED: 12 | WARNINGS: 0 | FAILED: 5 ]
  1. Error: (unknown) (@test-aibd-pmf.R#10) 
  2. Error: (unknown) (@test-aibd-reduces-to-ibp.R#8) 
  3. Error: (unknown) (@test-dist-numFeatures.R#16) 
  4. Error: (unknown) (@test-ibp-pmf.R#8) 
  5. Error: (unknown) (@test-lglfm-posterior.R#16) 
  
  Error: testthat unit tests failed
  ************ Stopping tests. ************
  Execution halted