Running ‘testthat.R’ [70s/109s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(inTextSummaryTable)
  > 
  > test_check("inTextSummaryTable")
  [ FAIL 16 | WARN 167 | SKIP 0 | PASS 976 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_exportSummaryStatisticsTable-flextable.R:1435:2'): A superscript is correctly formatted in a flextable summary table ──
  nrow(cntDataSps) not equal to 2.
  target is NULL, current is numeric
  ── Failure ('test_exportSummaryStatisticsTable-flextable.R:1436:2'): A superscript is correctly formatted in a flextable summary table ──
  cntDataSps[, "txt"] not equal to c("<0.001", "*").
  target is NULL, current is character
  ── Failure ('test_exportSummaryStatisticsTable-flextable.R:1437:2'): A superscript is correctly formatted in a flextable summary table ──
  cntDataSps[, "vertical.align"] not equal to c(NA_character_, "superscript").
  target is NULL, current is character
  ── Error ('test_exportSummaryStatisticsTable-flextable.R:1440:2'): A superscript is correctly formatted in a flextable summary table ──
  Error in `expect_setequal(alignDataOther, NA_character_)`: `object` and `expected` must both be vectors
  Backtrace:
      ▆
   1. └─testthat::expect_setequal(alignDataOther, NA_character_) at test_exportSummaryStatisticsTable-flextable.R:1440:9
   2.   └─rlang::abort("`object` and `expected` must both be vectors")
  ── Failure ('test_exportSummaryStatisticsTable-flextable.R:1462:2'): A subscript is correctly formatted in a flextable summary table ──
  nrow(cntDataSbs) not equal to 2.
  target is NULL, current is numeric
  ── Failure ('test_exportSummaryStatisticsTable-flextable.R:1463:2'): A subscript is correctly formatted in a flextable summary table ──
  cntDataSbs[, "txt"] not equal to c("<0.001", "(significative)").
  target is NULL, current is character
  ── Failure ('test_exportSummaryStatisticsTable-flextable.R:1464:2'): A subscript is correctly formatted in a flextable summary table ──
  cntDataSbs[, "vertical.align"] not equal to c(NA_character_, "subscript").
  target is NULL, current is character
  ── Error ('test_exportSummaryStatisticsTable-flextable.R:1467:2'): A subscript is correctly formatted in a flextable summary table ──
  Error in `expect_setequal(alignDataOther, NA_character_)`: `object` and `expected` must both be vectors
  Backtrace:
      ▆
   1. └─testthat::expect_setequal(alignDataOther, NA_character_) at test_exportSummaryStatisticsTable-flextable.R:1467:9
   2.   └─rlang::abort("`object` and `expected` must both be vectors")
  ── Error ('test_exportSummaryStatisticsTable-flextable.R:1485:2'): A cell is correctly formatted in bold in a flextable summary table ──
  Error in `apply(ft$body$content$content$data, 2, function(x) sapply(x, 
      `[[`, "bold"))`: dim(X) must have a positive length
  Backtrace:
      ▆
   1. └─base::apply(...) at test_exportSummaryStatisticsTable-flextable.R:1485:9
  ── Failure ('test_exportSummaryStatisticsTable-flextable.R:1514:2'): A cell is correctly formatted with multiple same text formatting in a flextable summary table ──
  cntDataSps[, "txt"] not equal to c("Actual Value", "test", " of the measurement", "test2", " in data").
  target is NULL, current is character
  ── Failure ('test_exportSummaryStatisticsTable-flextable.R:1519:2'): A cell is correctly formatted with multiple same text formatting in a flextable summary table ──
  cntDataSps[, "vertical.align"] not equal to c(...).
  target is NULL, current is character
  ── Failure ('test_exportSummaryStatisticsTable-flextable.R:1543:2'): A cell is correctly formatted with multiple and different text formatting in a flextable summary table ──
  cntData[, "txt"] not equal to c("test", "<0.001").
  target is NULL, current is character
  ── Failure ('test_exportSummaryStatisticsTable-flextable.R:1544:2'): A cell is correctly formatted with multiple and different text formatting in a flextable summary table ──
  cntData[1, "vertical.align"] not equal to "superscript".
  target is NULL, current is character
  ── Failure ('test_exportSummaryStatisticsTable-flextable.R:1545:2'): A cell is correctly formatted with multiple and different text formatting in a flextable summary table ──
  cntData[2, "bold"] is not TRUE
  
  `actual` is NULL
  `expected` is a logical vector (TRUE)
  ── Failure ('test_subjectProfileSummaryPlot-general.R:25:2'): The plot is correctly facetted based on a variable ──
  `... <- NULL` produced warnings.
  ── Failure ('test_subjectProfileSummaryPlot-table.R:356:2'): The size of the points (in the legend) is correctly set ──
  gg$guides$colour$override.aes$size not equal to `pointSize`.
  target is NULL, current is numeric
  
  [ FAIL 16 | WARN 167 | SKIP 0 | PASS 976 ]
  Error: Test failures
  Execution halted