Running ‘testthat.R’ [21s/22s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("EvidenceSynthesis")
  Loading required package: EvidenceSynthesis
  Loading required package: survival
  ── ERROR (test-java.R:10:3): AML example ───────────────────────────────────────
  Error: java.lang.UnsupportedClassVersionError: org/ohdsi/data/CoxData : Unsupported major.minor version 52.0
  
  ── ERROR (test-java.R:41:3): Cox likelihood with failure ties and strata ───────
  Error: java.lang.UnsupportedClassVersionError: org/ohdsi/data/CoxData : Unsupported major.minor version 52.0
  
  ── ERROR (test-java.R:59:3): normal logPdf ─────────────────────────────────────
  Error: java.lang.UnsupportedClassVersionError: org/ohdsi/metaAnalysis/NormalDataModel : Unsupported major.minor version 52.0
  
  ── ERROR (test-java.R:71:3): skew-normal logPdf and gradLogPdf ─────────────────
  Error: java.lang.UnsupportedClassVersionError: org/ohdsi/metaAnalysis/SkewNormalDataModel : Unsupported major.minor version 52.0
  
  ── ERROR (test-nonNormalMetaAnalysis.R:55:3): Custom approximation: pooled match
  Error: java.lang.UnsupportedClassVersionError: org/ohdsi/metaAnalysis/ParametricDataModel : Unsupported major.minor version 52.0
  
  ── ERROR (test-nonNormalMetaAnalysis.R:76:3): Grid approximation: pooled matches
  Error: java.lang.UnsupportedClassVersionError: org/ohdsi/metaAnalysis/ExtendingEmpiricalDataModel : Unsupported major.minor version 52.0
  
  ── Warning (test-nonNormalMetaAnalysis.R:88:3): Normal approximation: pooled mat
  Estimate(s) with NA logRr detected. Removing before computing meta-analysis.
  
  ── Warning (test-nonNormalMetaAnalysis.R:88:3): Normal approximation: pooled mat
  Estimate(s) with NA seLogRr detected. Removing before computing meta-analysis.
  
  ── Warning (test-nonNormalMetaAnalysis.R:94:3): Normal approximation: pooled mat
  Estimate(s) with NA logRr detected. Removing before computing meta-analysis.
  
  ── Warning (test-nonNormalMetaAnalysis.R:94:3): Normal approximation: pooled mat
  Estimate(s) with NA seLogRr detected. Removing before computing meta-analysis.
  
  ── ERROR (test-nonNormalMetaAnalysis.R:94:3): Normal approximation: pooled match
  Error: java.lang.UnsupportedClassVersionError: org/ohdsi/metaAnalysis/NormalDataModel : Unsupported major.minor version 52.0
  
  ── ERROR (test-nonNormalMetaAnalysis.R:109:3): Skew-normal approximation: pooled
  Error: java.lang.UnsupportedClassVersionError: org/ohdsi/metaAnalysis/SkewNormalDataModel : Unsupported major.minor version 52.0
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  ERROR (test-java.R:10:3): AML example
  ERROR (test-java.R:41:3): Cox likelihood with failure ties and strata
  ERROR (test-java.R:59:3): normal logPdf
  ERROR (test-java.R:71:3): skew-normal logPdf and gradLogPdf
  ERROR (test-nonNormalMetaAnalysis.R:55:3): Custom approximation: pooled matches random-effects meta-analysis
  ERROR (test-nonNormalMetaAnalysis.R:76:3): Grid approximation: pooled matches random-effects meta-analysis
  Warning (test-nonNormalMetaAnalysis.R:88:3): Normal approximation: pooled matches meta-analysis
  Warning (test-nonNormalMetaAnalysis.R:88:3): Normal approximation: pooled matches meta-analysis
  Warning (test-nonNormalMetaAnalysis.R:94:3): Normal approximation: pooled matches random-effects meta-analysis
  Warning (test-nonNormalMetaAnalysis.R:94:3): Normal approximation: pooled matches random-effects meta-analysis
  ERROR (test-nonNormalMetaAnalysis.R:94:3): Normal approximation: pooled matches random-effects meta-analysis
  ERROR (test-nonNormalMetaAnalysis.R:109:3): Skew-normal approximation: pooled matches random-effects meta-analysis
  
  [ FAIL 8 | WARN 4 | SKIP 0 | PASS 9 ]
  Error: Test failures
  Execution halted