Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(roclang)
  > 
  > test_check("roclang")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-extract_roc_text.R:7:3): extract_roc_text extracts parts of a function documentation ──
  extract_roc_text\(stats::lm, "general", "description", NA\) does not match "^\\\\code\\{lm\\} is used to fit linear models\\.".
  Actual value: "\\\\code\{lm\} is used to fit linear models, including multivariate ones\.\\n  It can be used to carry out regression,\\n  single stratum analysis of variance and\\n  analysis of covariance \(although \\\\code\{\\\\link\[stats\]\{aov\}\} may provide a more\\n  convenient interface for these\)\."
  Backtrace:
      █
   1. └─testthat::expect_match(...) test-extract_roc_text.R:7:2
   2.   └─testthat:::expect_match_(...)
  ── Failure (test-extract_roc_text.R:33:3): extract_roc_text sets capitalization ──
  extract_roc_text\(stats::lm, "general", "description", TRUE\) does not match "^\\\\code\\{lm\\} is used to fit linear models\\.".
  Actual value: "\\\\code\{lm\} is used to fit linear models, including multivariate ones\.\\n  It can be used to carry out regression,\\n  single stratum analysis of variance and\\n  analysis of covariance \(although \\\\code\{\\\\link\[stats\]\{aov\}\} may provide a more\\n  convenient interface for these\)\."
  Backtrace:
      █
   1. └─testthat::expect_match(...) test-extract_roc_text.R:33:2
   2.   └─testthat:::expect_match_(...)
  ── Failure (test-extract_roc_text.R:35:3): extract_roc_text sets capitalization ──
  extract_roc_text\(stats::lm, "general", "description", TRUE\) does not match "^\\\\code\\{lm\\} is used to fit linear models\\.".
  Actual value: "\\\\code\{lm\} is used to fit linear models, including multivariate ones\.\\n  It can be used to carry out regression,\\n  single stratum analysis of variance and\\n  analysis of covariance \(although \\\\code\{\\\\link\[stats\]\{aov\}\} may provide a more\\n  convenient interface for these\)\."
  Backtrace:
      █
   1. └─testthat::expect_match(...) test-extract_roc_text.R:35:2
   2.   └─testthat:::expect_match_(...)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 39 ]
  Error: Test failures
  Execution halted