Running 'testthat.R' [64s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(commonsMath)
  > 
  > test_check("commonsMath")
  
  Searching the system for Java.
    Failure with rscala home directory.
    Failure with JAVACMD environment variable.
    Failure with JAVA_HOME environment variable.
    Success with PATH environment variable.
    ... querying Java specifics.
  
  Searching the system for Scala.
    Failure with rscala home directory.
    Failure with SCALACMD environment variable.
    Failure with SCALA_HOME environment variable.
    Failure with PATH environment variable.
    Success with rscala package directory.
    ... querying Scala specifics.
  
  Searching the system for SBT.
    Failure with rscala home directory.
    Failure with SBTCMD environment variable.
    Failure with SBT_HOME environment variable.
    Failure with PATH environment variable.
    Failure with rscala package directory.
    Failure with rscala temporary directory.
  
  
  Starting instance. ********************************
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 135 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (tests-transcompile.R:109:3): normal distribution ───────────────────
  `trans` not equal to `native`.
  1/1 mismatches
  [1] 0.837 - 1.19 == -0.358
  Backtrace:
      ▆
   1. └─commonsMath myExpect(...) at tests-transcompile.R:109:2
   2.   └─testthat::expect_equal(trans, native, tolerance = tolerance) at tests-transcompile.R:11:2
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 135 ]
  Error: Test failures
  In addition: Warning messages:
  1: In system2("wmic", c("/locale:ms_409", "OS", "get", "FreePhysicalMemory",  :
    running command '"wmic" /locale:ms_409 OS get FreePhysicalMemory /VALUE' had status 44135
  2: In getHeapMaximum(heap.maximum, sConfig$javaArchitecture == 32) :
    NAs introduced by coercion
  Stopping instance. **************************
  Execution halted