Given following log snippets, their explanation, and nothing else, explain what failure, if any, occurred during build of this package.

  Snippets are in a format of [X] : [Y], where [X] is a log snippet, and [Y] is the explanation.

  Snippets are delimited with '================'.

  Drawing on information from all snippets, provide a concise explanation of the issue and recommend a solution.

  Explanation of the issue, and recommended solution, should take a handful of sentences.

  Snippets:

  [    Bad exit status from /var/tmp/rpm-tmp.HiRBka (%check)]: [Mentions which phase of rpmbuild has failed]
=============
[ ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
  * ``` sh
  * -- nothing to show --
  * ```
  * 
  * </details>
  Backtrace:
      ▆
   1. └─testthat::expect_match(out, "Traceback", all = FALSE) at test-reprex.R:79:3
   2.   └─testthat:::expect_match_(...)
  
  [ FAIL 3 | WARN 0 | SKIP 65 | PASS 60 ]]: [Output of the failure from Internal test suite, which is run in the %check phase]

Issue: The %check phase has failed
Resolution: Try to reproduce the failed test and resolve the problem found.