papaja icon indicating copy to clipboard operation
papaja copied to clipboard

attempt to index a nil value (pandoc error 83)

Open HenrikEckermann opened this issue 3 months ago • 4 comments

Describe the bug

If I try to include a table from the package table1, I receive the error printed below. I first convert the table to a kable object using as.data.frame(tbl1) %>% kable(). I can knit the document to word, pdf or html without any issues. Only when I knit using the index.Rmd file with papaja do I get the error. Other tables from a different format seem not cause the issue with papaja but only this specific table. Any ideas what could be causing this and how I can solve it?

Error running filter /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/papaja/lua/docx_fixes.lua:
...ns/4.3-arm64/Resources/library/papaja/lua/docx_fixes.lua:24: attempt to index a nil value (field 'integer index')
stack traceback:
Error: pandoc document conversion failed with error 83
Execution halted

Unfortunately, I cannot share this specific document for reproducibility.

HenrikEckermann avatar Mar 24 '24 12:03 HenrikEckermann