Running ‘run_tests.R’
Running the tests in ‘tests/run_tests.R’ failed.
Complete output:
  > #############################################################################
  > #
  > # XLConnect
  > # Copyright (C) 2010-2013 Mirai Solutions GmbH
  > #
  > # This program is free software: you can redistribute it and/or modify
  > # it under the terms of the GNU General Public License as published by
  > # the Free Software Foundation, either version 3 of the License, or
  > # (at your option) any later version.
  > #
  > # This program is distributed in the hope that it will be useful,
  > # but WITHOUT ANY WARRANTY; without even the implied warranty of
  > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  > # GNU General Public License for more details.
  > #
  > # You should have received a copy of the GNU General Public License
  > # along with this program.  If not, see <http://www.gnu.org/licenses/>.
  > #
  > #############################################################################
  > 
  > #############################################################################
  > #
  > # RUnit test-runner script
  > # 
  > # Author: Martin Studer, Mirai Solutions GmbH
  > #
  > #############################################################################
  > 
  > # Set timezone to UTC
  > Sys.setenv("TZ" = "UTC")
  > 
  > # Limit number of GC threads; set timezone
  > options(java.parameters = c("-XX:+UseParallelGC", "-XX:ParallelGCThreads=1", paste0("-Duser.timezone=", Sys.timezone())))
  > 
  > # Load library built by R CMD check
  > library(package = "XLConnect", character.only = TRUE)
  XLConnect 1.0.0 by Mirai Solutions GmbH [aut],
    Martin Studer [cre],
    The Apache Software Foundation [ctb, cph] (Apache POI),
    Graph Builder [ctb, cph] (Curvesapi Java library)
  http://www.mirai-solutions.com
  https://github.com/miraisolutions/xlconnect
  > require(rJava)
  Loading required package: rJava
  > 
  > rsrc <- function(resource) {
  +   file.path(options()$path.unit.tests, resource)
  + }
  > 
  > checkNoException <- function(expr) {
  +         res <- try(expr)
  +         checkTrue(!is(res, "try-error"))
  + }
  > 
  > runUnitTests <- function() {
  + 	
  + 	pkg <- "XLConnect"
  + 	
  + 	# Option to determine if full test suite should be run
  + 	options("FULL.TEST.SUITE" = Sys.getenv("FULL_TEST_SUITE") == "1")
  + 
  + 	# RUnit is required for unit testing
  + 	if(require("RUnit", quietly = TRUE)) {
  + 		if(Sys.getenv("RCMDCHECK") == "FALSE") {
  + 			# Path to unit tests for standalone running under Makefile (not R CMD check)
  + 			path <- file.path(getwd(), "..", "inst", "unitTests")
  + 		} else {
  + 			# Path to unit tests for 'R CMD check' and as part of public API
  + 			path <- system.file(package = pkg, "unitTests")
  + 		}
  + 		cat("\nRunning Unit Tests\n")
  + 		print(list(WorkingDir = getwd(), PathToUnitTests = path))
  + 		
  + 		# Add path to unit tests as option
  + 		# (used by rsrc function in unit tests)
  + 		options(path.unit.tests = path)
  + 		
  + 		# Set up and run test suite
  + 		Sys.setlocale(category = "LC_NUMERIC", locale = "C")
  + 		jlocale = J("java.util.Locale")
  + 		jlocale$setDefault(jlocale$US)
  + 		orig.opts <- options(encoding = "UTF-8")
  + 		TestSuite <- defineTestSuite(paste(pkg, "Test Suite"), dirs = path)
  + 		TestResult <- runTestSuite(TestSuite)
  + 		options(orig.opts)
  + 		
  + 		# Test protocol files
  + 		protocol <- file.path(getwd(), paste(pkg, "Unit_Tests", sep = "_"))
  + 		txtProtocol <- paste(protocol, ".txt", sep = "")
  + 		htmlProtocol <- paste(protocol, ".html", sep = "")
  + 		
  + 		# Print (summary) test protocol to stdout
  + 		printTextProtocol(TestResult, showDetails = FALSE)
  + 		# Write detailed test protocol to text file
  + 		printTextProtocol(TestResult, showDetails = TRUE, fileName = txtProtocol)
  + 		# Write HTML protocol
  + 		printHTMLProtocol(TestResult, fileName = htmlProtocol)
  + 		
  + 		# Show HTML Test Protocol
  + 		browseURL(url = htmlProtocol)
  + 		
  + 		## Return stop() to cause R CMD check stop in case of
  + 		##  - failures i.e. FALSE to unit tests or
  + 		##  - errors i.e. R errors
  + 		tmp <- getErrors(TestResult)
  + 		if(tmp$nFail > 0 | tmp$nErr > 0) {
  + 			stop(paste("\n\nUnit Testing failed (#test failures: ", tmp$nFail,
  + 				", #R errors: ",  tmp$nErr, ")\n\n", sep=""))
  + 		}
  + 	} else {
  + 		warning("Cannot run unit tests -- Package 'RUnit' is not available!")
  + 	}
  + 	
  + 	invisible()
  + }
  > 
  > # Run unit tests
  > runUnitTests()
  
  Running Unit Tests
  $WorkingDir
  [1] "/home/ripley/R/packages/tests-devel/XLConnect.Rcheck/tests"
  
  $PathToUnitTests
  [1] "/home/ripley/R/Lib32-dev/XLConnect/unitTests"
  
  
  
  Executing test function test.arefidx  ... Timing stopped at: 0.022 0.014 0.034
  Error in .jfindClass(as.character(class)) : 
    java.lang.UnsupportedClassVersionError: org/apache/poi/ss/util/CellReference : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.colidx  ... Timing stopped at: 0.003 0.001 0.004
  Error in .jfindClass(as.character(class)) : 
    java.lang.UnsupportedClassVersionError: org/apache/poi/ss/util/CellReference : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.crefidx  ... Timing stopped at: 0.002 0.001 0.003
  Error in .jfindClass(as.character(class)) : 
    java.lang.UnsupportedClassVersionError: org/apache/poi/ss/util/CellReference : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.dataframeConversion  ... Timing stopped at: 0.054 0.004 0.047
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RDataFrameWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.dumpAndRestore  ...  done successfully.
  
  
  
  Executing test function test.extractSheetName  ...  done successfully.
  
  
  
  Executing test function test.loadWorkbook  ... Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  Timing stopped at: 0.081 0.006 0.265
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.with.workbook  ... Timing stopped at: 0.12 0.002 0.141
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.cellstyles  ...  done successfully.
  
  
  
  Executing test function test.workbook.createName  ... Timing stopped at: 0.021 0.001 0.019
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.createSheet  ... Timing stopped at: 0.019 0.001 0.019
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.existsName  ... Timing stopped at: 0.016 0.001 0.018
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.existsSheet  ... Timing stopped at: 0.145 0.002 0.264
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.extraction  ... Timing stopped at: 0.018 0.001 0.019
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.getBoundingBox  ... Timing stopped at: 0.019 0.001 0.019
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.getDefinedNames  ... Timing stopped at: 0.018 0.001 0.019
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.getSheetPos  ... Timing stopped at: 0.017 0.001 0.018
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.getSheets  ... Timing stopped at: 0.019 0.001 0.019
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.hideSheet  ... Timing stopped at: 0.021 0.003 0.023
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.onErrorCell  ... Timing stopped at: 0.041 0.012 0.058
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.readNamedRegion  ... Timing stopped at: 0.02 0.003 0.024
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.readWorksheet  ... Timing stopped at: 0.021 0.003 0.028
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.renameSheet  ... Timing stopped at: 0.02 0.006 0.028
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.saveWorkbook  ...  done successfully.
  
  
  
  Executing test function test.workbook.setMissingValue  ... Timing stopped at: 0.021 0.006 0.027
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.setSheetPos  ... Timing stopped at: 0.023 0.006 0.026
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.writeNamedRegion  ... Timing stopped at: 0.02 0.007 0.027
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.writeWorksheet  ... Timing stopped at: 0.02 0.006 0.027
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.writeAndReadNamedRegion  ... Timing stopped at: 0.021 0.007 0.027
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.workbook.writeAndReadWorksheet  ... Timing stopped at: 0.019 0.006 0.027
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.writeNamedRegionToFile  ... [1] "Writing dataset  cdf to file testWriteNamedRegionToFileWorkbook.xls"
  Timing stopped at: 0.027 0.008 0.034
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  
  
  Executing test function test.writeWorksheetToFile  ... [1] "Writing dataset  cdf to file testWriteWorksheetToFileWorkbook.xls"
  Timing stopped at: 0.021 0.002 0.023
  Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
   done successfully.
  
  RUNIT TEST PROTOCOL -- Fri Mar 20 10:32:14 2020 
  *********************************************** 
  Number of test functions: 32 
  Number of errors: 28 
  Number of failures: 0 
  
   
  1 Test Suite : 
  XLConnect Test Suite - 32 test functions, 28 errors, 0 failures
  ERROR in test.arefidx: Error in .jfindClass(as.character(class)) : 
    java.lang.UnsupportedClassVersionError: org/apache/poi/ss/util/CellReference : Unsupported major.minor version 52.0
  ERROR in test.colidx: Error in .jfindClass(as.character(class)) : 
    java.lang.UnsupportedClassVersionError: org/apache/poi/ss/util/CellReference : Unsupported major.minor version 52.0
  ERROR in test.crefidx: Error in .jfindClass(as.character(class)) : 
    java.lang.UnsupportedClassVersionError: org/apache/poi/ss/util/CellReference : Unsupported major.minor version 52.0
  ERROR in test.dataframeConversion: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RDataFrameWrapper : Unsupported major.minor version 52.0
  ERROR in test.loadWorkbook: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.with.workbook: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.createName: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.createSheet: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.existsName: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.existsSheet: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.extraction: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.getBoundingBox: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.getDefinedNames: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.getSheetPos: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.getSheets: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.hideSheet: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.onErrorCell: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.readNamedRegion: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.readWorksheet: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.renameSheet: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.setMissingValue: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.setSheetPos: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.writeNamedRegion: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.writeWorksheet: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.writeAndReadNamedRegion: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.workbook.writeAndReadWorksheet: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.writeNamedRegionToFile: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  ERROR in test.writeWorksheetToFile: Error : UnsupportedClassVersionError (Java): com/miraisolutions/xlconnect/integration/r/RWorkbookWrapper : Unsupported major.minor version 52.0
  Error in runUnitTests() : 
  
  Unit Testing failed (#test failures: 0, #R errors: 28)
  
  Execution halted