Running ‘testthat.R’ [60s/92s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(inTextSummaryTable)
  > 
  > test_check("inTextSummaryTable")
  [ FAIL 27 | WARN 1 | SKIP 0 | PASS 957 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_subjectProfileSummaryPlot-general.R:173:2'): A table is successfully included in a plot ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. ├─base::withCallingHandlers(...) at test_subjectProfileSummaryPlot-general.R:173:8
   2. └─inTextSummaryTable::subjectProfileSummaryPlot(...) at test_subjectProfileSummaryPlot-general.R:175:24
   3.   └─inTextSummaryTable::subjectProfileSummaryTable(...)
   4.     └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   5.       └─base::as.numeric_version(e2)
   6.         └─base::numeric_version(x)
   7.           └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-general.R:206:2'): A table with specific height is correctly included in a plot ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. ├─base::withCallingHandlers(...) at test_subjectProfileSummaryPlot-general.R:206:8
   2. └─inTextSummaryTable::subjectProfileSummaryPlot(...) at test_subjectProfileSummaryPlot-general.R:208:24
   3.   └─inTextSummaryTable::subjectProfileSummaryTable(...)
   4.     └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   5.       └─base::as.numeric_version(e2)
   6.         └─base::numeric_version(x)
   7.           └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Failure ('test_subjectProfileSummaryPlot-general.R:245:2'): An error is generated if the height for the table is not correctly specified ──
  `subjectProfileSummaryPlot(...)` threw an error with unexpected message.
  Expected match: "Table height should be between 0 and 1."
  Actual message: "invalid non-character version specification 'x' (type: double)"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_subjectProfileSummaryPlot-general.R:245:8
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─inTextSummaryTable::subjectProfileSummaryPlot(...)
    7.   └─inTextSummaryTable::subjectProfileSummaryTable(...)
    8.     └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
    9.       └─base::as.numeric_version(e2)
   10.         └─base::numeric_version(x)
   11.           └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:13:2'): A text variable is correctly set ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:13:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:59:2'): A text variable is correctly set as an expression ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:59:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:85:2'): The size of the text is correctly set ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:85:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:109:2'): The label for the x variable is correctly set ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:109:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:130:2'): The x-axis labels are correctly set for a continuous x variable ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:130:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:162:2'): The x-axis labels are correctly set for a categorical x variable ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:162:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:190:2'): The limits are correctly set for the x-axis ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:190:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:211:2'): The labels of the color variable are correctly displayed in the y-axis ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:211:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:248:2'): The text and point are colored based on the specified color variable ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:248:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:277:2'): A color palette is correctly set ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:277:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:314:2'): A label for the color variable is correctly set ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:314:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:348:2'): The size of the points (in the legend) is correctly set ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:348:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:371:2'): The variable labels are correctly extracted from the labels of all variables ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:371:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:401:2'): The labels of the y-axis are correctly included with a color variable as a factor ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. ├─base::withCallingHandlers(...) at test_subjectProfileSummaryPlot-table.R:401:8
   2. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:403:24
   3.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   4.     └─base::as.numeric_version(e2)
   5.       └─base::numeric_version(x)
   6.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:436:2'): A warning is generated if the labels for the y-axis are requested but no color variable is specified ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test_subjectProfileSummaryPlot-table.R:436:8
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─inTextSummaryTable::subjectProfileSummaryTable(...)
    7.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
    8.     └─base::as.numeric_version(e2)
    9.       └─base::numeric_version(x)
   10.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:460:2'): The labels of the y-axis are correctly included with a color variable as a character ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. ├─base::withCallingHandlers(...) at test_subjectProfileSummaryPlot-table.R:460:8
   2. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:462:24
   3.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   4.     └─base::as.numeric_version(e2)
   5.       └─base::numeric_version(x)
   6.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:502:2'): The labels of the y-axis are correctly not included ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:502:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:527:2'): A color palette is correctly set for the labels of the y-axis  ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. ├─base::withCallingHandlers(...) at test_subjectProfileSummaryPlot-table.R:527:8
   2. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:529:24
   3.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   4.     └─base::as.numeric_version(e2)
   5.       └─base::numeric_version(x)
   6.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:559:2'): The font size of the text is correctly set ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:559:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:580:2'): The font face of the text is correctly set ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:580:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:606:2'): The font of the text is correctly set ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:606:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:626:2'): A theme is correctly set for the plot ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:626:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:649:2'): A legend is correctly included ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:649:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test_subjectProfileSummaryPlot-table.R:668:2'): A legend is correctly not included ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: double)
  Backtrace:
      ▆
   1. └─inTextSummaryTable::subjectProfileSummaryTable(...) at test_subjectProfileSummaryPlot-table.R:668:8
   2.   └─base::Ops.numeric_version(packageVersion("ggplot2"), 3.3)
   3.     └─base::as.numeric_version(e2)
   4.       └─base::numeric_version(x)
   5.         └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  
  [ FAIL 27 | WARN 1 | SKIP 0 | PASS 957 ]
  Error: Test failures
  Execution halted