Running 'testthat.R' [18s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(roxygen2)
  > 
  > if (requireNamespace("xml2")) {
  +   test_check("roxygen2", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
  + } else {
  +   test_check("roxygen2")
  + }
  [ FAIL 9 | WARN 0 | SKIP 14 | PASS 723 ]
  
  == Skipped tests ===============================================================
  * On CRAN (13)
  * file.exists(test_path("../../DESCRIPTION")) is not TRUE (1)
  
  == Failed tests ================================================================
  -- Error (test-rd-include-rmd.R:13:3): markdown file can be included -----------
  Error: only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 
  Backtrace:
       x
    1. \-roxygen2::roc_proc_text(rd_roclet(), rox) at test-rd-include-rmd.R:13:2
    2.   +-roxygen2::roclet_process(roclet, blocks, env = env, base_path = ".")
    3.   \-roxygen2:::roclet_process.roclet_rd(...)
    4.     +-roxygen2:::block_to_rd(block, base_path, env)
    5.     \-roxygen2:::block_to_rd.roxy_block(block, base_path, env)
    6.       +-rd$add(roxy_tag_rd(tag, env = env, base_path = base_path))
    7.       | \-base::inherits(x, "RoxyTopic")
    8.       +-roxygen2::roxy_tag_rd(tag, env = env, base_path = base_path)
    9.       \-roxygen2:::roxy_tag_rd.roxy_tag_includeRmd(tag, env = env, base_path = base_path)
   10.         +-rmarkdown::render(...)
   11.         \-rmarkdown::github_document()
   12.           \-rmarkdown:::add_math_support(math, NULL, NULL, NULL)
   13.             \-rmarkdown:::stop2("only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 ")
  -- Error (test-rd-include-rmd.R:55:3): markdown with headers -------------------
  Error: only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 
  Backtrace:
       x
    1. \-roxygen2::roc_proc_text(rd_roclet(), rox) at test-rd-include-rmd.R:55:2
    2.   +-roxygen2::roclet_process(roclet, blocks, env = env, base_path = ".")
    3.   \-roxygen2:::roclet_process.roclet_rd(...)
    4.     +-roxygen2:::block_to_rd(block, base_path, env)
    5.     \-roxygen2:::block_to_rd.roxy_block(block, base_path, env)
    6.       +-rd$add(roxy_tag_rd(tag, env = env, base_path = base_path))
    7.       | \-base::inherits(x, "RoxyTopic")
    8.       +-roxygen2::roxy_tag_rd(tag, env = env, base_path = base_path)
    9.       \-roxygen2:::roxy_tag_rd.roxy_tag_includeRmd(tag, env = env, base_path = base_path)
   10.         +-rmarkdown::render(...)
   11.         \-rmarkdown::github_document()
   12.           \-rmarkdown:::add_math_support(math, NULL, NULL, NULL)
   13.             \-rmarkdown:::stop2("only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 ")
  -- Error (test-rd-include-rmd.R:85:3): subsection within details ---------------
  Error: only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 
  Backtrace:
       x
    1. \-roxygen2::roc_proc_text(rd_roclet(), rox) at test-rd-include-rmd.R:85:2
    2.   +-roxygen2::roclet_process(roclet, blocks, env = env, base_path = ".")
    3.   \-roxygen2:::roclet_process.roclet_rd(...)
    4.     +-roxygen2:::block_to_rd(block, base_path, env)
    5.     \-roxygen2:::block_to_rd.roxy_block(block, base_path, env)
    6.       +-rd$add(roxy_tag_rd(tag, env = env, base_path = base_path))
    7.       | \-base::inherits(x, "RoxyTopic")
    8.       +-roxygen2::roxy_tag_rd(tag, env = env, base_path = base_path)
    9.       \-roxygen2:::roxy_tag_rd.roxy_tag_includeRmd(tag, env = env, base_path = base_path)
   10.         +-rmarkdown::render(...)
   11.         \-rmarkdown::github_document()
   12.           \-rmarkdown:::add_math_support(math, NULL, NULL, NULL)
   13.             \-rmarkdown:::stop2("only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 ")
  -- Error (test-rd-include-rmd.R:107:3): links to functions ---------------------
  Error: only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 
  Backtrace:
       x
    1. \-roxygen2::roc_proc_text(rd_roclet(), rox) at test-rd-include-rmd.R:107:2
    2.   +-roxygen2::roclet_process(roclet, blocks, env = env, base_path = ".")
    3.   \-roxygen2:::roclet_process.roclet_rd(...)
    4.     +-roxygen2:::block_to_rd(block, base_path, env)
    5.     \-roxygen2:::block_to_rd.roxy_block(block, base_path, env)
    6.       +-rd$add(roxy_tag_rd(tag, env = env, base_path = base_path))
    7.       | \-base::inherits(x, "RoxyTopic")
    8.       +-roxygen2::roxy_tag_rd(tag, env = env, base_path = base_path)
    9.       \-roxygen2:::roxy_tag_rd.roxy_tag_includeRmd(tag, env = env, base_path = base_path)
   10.         +-rmarkdown::render(...)
   11.         \-rmarkdown::github_document()
   12.           \-rmarkdown:::add_math_support(math, NULL, NULL, NULL)
   13.             \-rmarkdown:::stop2("only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 ")
  -- Error (test-rd-include-rmd.R:132:3): links to functions, with anchors -------
  Error: only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 
  Backtrace:
       x
    1. \-roxygen2::roc_proc_text(rd_roclet(), rox) at test-rd-include-rmd.R:132:2
    2.   +-roxygen2::roclet_process(roclet, blocks, env = env, base_path = ".")
    3.   \-roxygen2:::roclet_process.roclet_rd(...)
    4.     +-roxygen2:::block_to_rd(block, base_path, env)
    5.     \-roxygen2:::block_to_rd.roxy_block(block, base_path, env)
    6.       +-rd$add(roxy_tag_rd(tag, env = env, base_path = base_path))
    7.       | \-base::inherits(x, "RoxyTopic")
    8.       +-roxygen2::roxy_tag_rd(tag, env = env, base_path = base_path)
    9.       \-roxygen2:::roxy_tag_rd.roxy_tag_includeRmd(tag, env = env, base_path = base_path)
   10.         +-rmarkdown::render(...)
   11.         \-rmarkdown::github_document()
   12.           \-rmarkdown:::add_math_support(math, NULL, NULL, NULL)
   13.             \-rmarkdown:::stop2("only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 ")
  -- Error (test-rd-include-rmd.R:172:3): inline html ----------------------------
  Error: only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 
  Backtrace:
       x
    1. \-roxygen2::roc_proc_text(rd_roclet(), rox) at test-rd-include-rmd.R:172:2
    2.   +-roxygen2::roclet_process(roclet, blocks, env = env, base_path = ".")
    3.   \-roxygen2:::roclet_process.roclet_rd(...)
    4.     +-roxygen2:::block_to_rd(block, base_path, env)
    5.     \-roxygen2:::block_to_rd.roxy_block(block, base_path, env)
    6.       +-rd$add(roxy_tag_rd(tag, env = env, base_path = base_path))
    7.       | \-base::inherits(x, "RoxyTopic")
    8.       +-roxygen2::roxy_tag_rd(tag, env = env, base_path = base_path)
    9.       \-roxygen2:::roxy_tag_rd.roxy_tag_includeRmd(tag, env = env, base_path = base_path)
   10.         +-rmarkdown::render(...)
   11.         \-rmarkdown::github_document()
   12.           \-rmarkdown:::add_math_support(math, NULL, NULL, NULL)
   13.             \-rmarkdown:::stop2("only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 ")
  -- Error (test-rd-include-rmd.R:198:3): html block -----------------------------
  Error: only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 
  Backtrace:
       x
    1. \-roxygen2::roc_proc_text(rd_roclet(), rox) at test-rd-include-rmd.R:198:2
    2.   +-roxygen2::roclet_process(roclet, blocks, env = env, base_path = ".")
    3.   \-roxygen2:::roclet_process.roclet_rd(...)
    4.     +-roxygen2:::block_to_rd(block, base_path, env)
    5.     \-roxygen2:::block_to_rd.roxy_block(block, base_path, env)
    6.       +-rd$add(roxy_tag_rd(tag, env = env, base_path = base_path))
    7.       | \-base::inherits(x, "RoxyTopic")
    8.       +-roxygen2::roxy_tag_rd(tag, env = env, base_path = base_path)
    9.       \-roxygen2:::roxy_tag_rd.roxy_tag_includeRmd(tag, env = env, base_path = base_path)
   10.         +-rmarkdown::render(...)
   11.         \-rmarkdown::github_document()
   12.           \-rmarkdown:::add_math_support(math, NULL, NULL, NULL)
   13.             \-rmarkdown:::stop2("only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 ")
  -- Error (test-rd-include-rmd.R:219:3): include as another section -------------
  Error: only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 
  Backtrace:
       x
    1. \-roxygen2::roc_proc_text(rd_roclet(), rox) at test-rd-include-rmd.R:219:2
    2.   +-roxygen2::roclet_process(roclet, blocks, env = env, base_path = ".")
    3.   \-roxygen2:::roclet_process.roclet_rd(...)
    4.     +-roxygen2:::block_to_rd(block, base_path, env)
    5.     \-roxygen2:::block_to_rd.roxy_block(block, base_path, env)
    6.       +-rd$add(roxy_tag_rd(tag, env = env, base_path = base_path))
    7.       | \-base::inherits(x, "RoxyTopic")
    8.       +-roxygen2::roxy_tag_rd(tag, env = env, base_path = base_path)
    9.       \-roxygen2:::roxy_tag_rd.roxy_tag_includeRmd(tag, env = env, base_path = base_path)
   10.         +-rmarkdown::render(...)
   11.         \-rmarkdown::github_document()
   12.           \-rmarkdown:::add_math_support(math, NULL, NULL, NULL)
   13.             \-rmarkdown:::stop2("only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 ")
  -- Error (test-rd-include-rmd.R:255:3): order of sections is correct -----------
  Error: only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 
  Backtrace:
       x
    1. \-roxygen2::roc_proc_text(rd_roclet(), rox) at test-rd-include-rmd.R:255:2
    2.   +-roxygen2::roclet_process(roclet, blocks, env = env, base_path = ".")
    3.   \-roxygen2:::roclet_process.roclet_rd(...)
    4.     +-roxygen2:::block_to_rd(block, base_path, env)
    5.     \-roxygen2:::block_to_rd.roxy_block(block, base_path, env)
    6.       +-rd$add(roxy_tag_rd(tag, env = env, base_path = base_path))
    7.       | \-base::inherits(x, "RoxyTopic")
    8.       +-roxygen2::roxy_tag_rd(tag, env = env, base_path = base_path)
    9.       \-roxygen2:::roxy_tag_rd.roxy_tag_includeRmd(tag, env = env, base_path = base_path)
   10.         +-rmarkdown::render(...)
   11.         \-rmarkdown::github_document()
   12.           \-rmarkdown:::add_math_support(math, NULL, NULL, NULL)
   13.             \-rmarkdown:::stop2("only `math_method = 'mathjax'` is supported with earlier version than Pandoc 2.0 ")
  
  [ FAIL 9 | WARN 0 | SKIP 14 | PASS 723 ]
  Error: Test failures
  Execution halted