Running examples in ‘texor-Ex.R’ failed
The error most likely occurred in:

> ### Name: check_markdown_file
> ### Title: check markdown file
> ### Aliases: check_markdown_file
> 
> ### ** Examples
> 
> article_dir <- system.file("examples/article",
+                  package = "texor")
> dir.create(your_article_folder <- file.path(tempdir(), "tempdir"))
> x <- file.copy(from = article_dir, to = your_article_folder,recursive = TRUE,)
> your_article_path <- paste(your_article_folder,"article",sep="/")
> rmarkdown::pandoc_version()
[1] ‘3.6’
> texor::include_style_file(your_article_path)
[1] TRUE
> rebib::aggregate_bibliography(your_article_path)
No Bib files found !
Cannot aggregate bibliography as there is no BibTeX bibliography
No Bib files found !
BibTeX file does not exist
will parse for bibliography
bibtex file created
> texor::convert_to_markdown(your_article_path)
/data/gannet/ripley/bin/pandoc +RTS -K512m -RTS /tmp/RtmpGlAwUP/working_dir/RtmpaBkCbG/tempdir/article/RJwrapper.tex --to markdown-simple_tables-pipe_tables-fenced_code_attributes --from latex --output /tmp/RtmpGlAwUP/working_dir/RtmpaBkCbG/tempdir/article/RJwrapper.md -s --resource-path /tmp/RtmpGlAwUP/working_dir/RtmpaBkCbG/tempdir/article --lua-filter /data/gannet/ripley/R/packages/tests-devel/texor.Rcheck/texor/issue_checker.lua --lua-filter /data/gannet/ripley/R/packages/tests-devel/texor.Rcheck/texor/abs_filter.lua --lua-filter /data/gannet/ripley/R/packages/tests-devel/texor.Rcheck/texor/bib_filter.lua --lua-filter /data/gannet/ripley/R/packages/tests-devel/texor.Rcheck/texor/equation_filter.lua --lua-filter /data/gannet/ripley/R/packages/tests-devel/texor.Rcheck/texor/image_filter.lua --lua-filter /data/gannet/ripley/R/packages/tests-devel/texor.Rcheck/texor/sec_depth.lua --lua-filter /data/gannet/ripley/R/packages/tests-devel/texor.Rcheck/texor/fig_code_chunk.lua --lua-filter /data/gannet/ripley/R/packages/tests-devel/texor.Rcheck/texor/widetable_patcher.lua --lua-filter /data/gannet/ripley/R/packages/tests-devel/texor.Rcheck/texor/R_code.lua --lua-filter /data/gannet/ripley/R/packages/tests-devel/texor.Rcheck/texor/table_caption.lua --lua-filter /data/gannet/ripley/R/packages/tests-devel/texor.Rcheck/texor/table_code_chunk.lua --lua-filter /data/gannet/ripley/R/packages/tests-devel/texor.Rcheck/texor/conversion_compat_check.lua --lua-filter /data/gannet/ripley/R/packages/tests-devel/texor.Rcheck/texor/bookdown_ref.lua --citeproc 
Error running filter /data/gannet/ripley/R/packages/tests-devel/texor.Rcheck/texor/fig_code_chunk.lua:
table expected, got Caption
stack traceback:
	...ckages/tests-devel/texor.Rcheck/texor/fig_code_chunk.lua:116: in function 'Figure'
Error: pandoc document conversion failed with error 83
Execution halted