Running ‘rsolr_unit_tests.R’ [14s/40s]
Running the tests in ‘tests/rsolr_unit_tests.R’ failed.
Complete output:
  > rsolr:::.test()
  Starting Solr...
  Use options(verbose=TRUE) to diagnose any problems.
  Solr started at: http://localhost:8983/solr/techproducts
  
  Attaching package: 'BiocGenerics'
  
  The following objects are masked from 'package:stats':
  
      IQR, mad, sd, var, xtabs
  
  The following objects are masked from 'package:base':
  
      Filter, Find, Map, Position, Reduce, anyDuplicated, append,
      as.data.frame, basename, cbind, colnames, dirname, do.call,
      duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
      lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
      pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
      tapply, union, unique, unsplit, which.max, which.min
  
  
  Attaching package: 'rsolr'
  
  The following object is masked from 'package:stats':
  
      ftable
  
  The following object is masked from 'package:base':
  
      grouping
  
  Timing stopped at: 1.161 0.009 2.643
  Error in checkIdentical(fieldNames(sc), fn) : FALSE 
   
  Timing stopped at: 1.16 0.01 1.637
  Error in checkIdentical(unmeta(response), input) : FALSE 
   
  Timing stopped at: 0.824 0.003 1.323
  Error in checkIdentical(length(s), 1L) : FALSE 
   
  Timing stopped at: 1.737 0.012 2.325
  Error in .local(data, ...) : argument 'x' must be a formula
  Timing stopped at: 0.595 0.004 0.923
  Error in (function (cond)  : 
    error in evaluating the argument 'x' in selecting a method for function 'docs': Failed to connect to localhost port 8983: Connection refused
  Starting Solr...
  Use options(verbose=TRUE) to diagnose any problems.
  Server unhandled exception during startup 'java.net.BindException: Address already in use'
  Solr started at: http://localhost:8983/solr/Cars93
  Timing stopped at: 1.654 0.029 10.23
  Error in checkIdentical(truth, df) : FALSE 
   
  
  
  RUNIT TEST PROTOCOL -- Tue Feb 15 08:33:14 2022 
  *********************************************** 
  Number of test functions: 7 
  Number of errors: 2 
  Number of failures: 4 
  
   
  1 Test Suite : 
  rsolr RUnit Tests - 7 test functions, 2 errors, 4 failures
  FAILURE in test_SolrCore_accessors: Error in checkIdentical(fieldNames(sc), fn) : FALSE 
   
  FAILURE in test_SolrFrame_accessors: Error in checkIdentical(unmeta(response), input) : FALSE 
   
  FAILURE in test_SolrList_accessors: Error in checkIdentical(length(s), 1L) : FALSE 
   
  ERROR in test_SolrList_queries: Error in .local(data, ...) : argument 'x' must be a formula
  ERROR in test_SolrQuery: Error in (function (cond)  : 
    error in evaluating the argument 'x' in selecting a method for function 'docs': Failed to connect to localhost port 8983: Connection refused
  FAILURE in test_SolrSchema_creation: Error in checkIdentical(truth, df) : FALSE 
   
  
  Test files with failing tests
  
     test_SolrCore.R 
       test_SolrCore_accessors 
  
     test_SolrFrame.R 
       test_SolrFrame_accessors 
  
     test_SolrList.R 
       test_SolrList_accessors 
       test_SolrList_queries 
  
     test_SolrQuery.R 
       test_SolrQuery 
  
     test_SolrSchema.R 
       test_SolrSchema_creation 
  
  
  Error in get("testPackage", getNamespace("BiocGenerics"))("rsolr") : 
    unit tests failed for package rsolr
  Calls: <Anonymous> -> <Anonymous>
  Error: Internal Server Error
  Execution halted