Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(scatterPlotMatrix)
  > 
  > test_check("scatterPlotMatrix")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test_scatterPlotMatrix.R:59:13): categorical: should fix invalid elements and print a message ──
  `out <- scatterPlotMatrix(mtcars, categorical = categorical)` did not produce any messages.
  ── Failure (test_scatterPlotMatrix.R:63:13): categorical: should fix invalid elements and print a message ──
  out$x$categorical not equal to `fixed`.
  Component 2: Modes: list, NULL
  Component 2: Attributes: < Modes: list, NULL >
  Component 2: Attributes: < Lengths: 1, 0 >
  Component 2: Attributes: < names for target but not for current >
  Component 2: Attributes: < current is not list-like >
  Component 2: current is not list-like
  ── Failure (test_scatterPlotMatrix.R:112:13): keptColumns: should fix invalid type and print a message ──
  `out <- scatterPlotMatrix(mtcars, keptColumns = keptColumns)` produced unexpected messages.
  Expected match: 'keptColumns' must be a vector
  Actual values:
  * Length of 'keptColumns' must be equal to the number of columns of 'data'
  
  ── Failure (test_scatterPlotMatrix.R:160:13): inputColumns: should fix invalid type and print a message ──
  `out <- scatterPlotMatrix(mtcars, inputColumns = inputColumns)` produced unexpected messages.
  Expected match: 'inputColumns' must be a vector
  Actual values:
  * Length of 'inputColumns' must be equal to the number of columns of 'data'
  
  ── Failure (test_scatterPlotMatrix.R:395:13): columnLabels: should fix invalid type and print a message ──
  `out <- scatterPlotMatrix(mtcars, columnLabels = columnLabels)` produced unexpected messages.
  Expected match: 'columnLabels' must be a vector
  Actual values:
  * Length of 'columnLabels' must be equal to the number of columns of 'data'
  
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 119 ]
  Error: Test failures
  Execution halted