noamross / redoc

[NOTE: Project in suspended animation for now] Reversible Reproducible Documents
https://noamross.github.io/redoc
Other
514 stars 44 forks source link

Error in assert_redoc(docx) : docx is not a reversible document #75

Open jonnymauser76 opened 2 years ago

jonnymauser76 commented 2 years ago

Hey there, hoping to find some answers with an issue I encountered after using redoc for the first time. Assuming that the example documents are valid, I used "Update and Render"-Addin and was surprised to get the following error message:

Error in assert_redoc(docx) : docx is not a reversible document In addition: Warning messages: 1: In (function (case_insensitive = FALSE, overlap = FALSE, ...) : Unknown option to stri_opts_fixed. 2: In (function (case_insensitive = FALSE, overlap = FALSE, ...) : Unknown option to stri_opts_fixed. 3: In (function (case_insensitive = FALSE, overlap = FALSE, ...) : Unknown option to stri_opts_fixed. 4: In (function (case_insensitive = FALSE, overlap = FALSE, ...) : Unknown option to stri_opts_fixed. 5: In (function (case_insensitive = FALSE, overlap = FALSE, ...) : Unknown option to stri_opts_fixed. 6: In (function (case_insensitive = FALSE, overlap = FALSE, ...) : Unknown option to stri_opts_fixed. 7: In (function (case_insensitive = FALSE, overlap = FALSE, ...) : Unknown option to stri_opts_fixed. 8: In (function (case_insensitive = FALSE, overlap = FALSE, ...) : Unknown option to stri_opts_fixed. 9: In (function (case_insensitive = FALSE, overlap = FALSE, ...) : Unknown option to stri_opts_fixed.

The error is persistent with other .docx documents and occurs with the dedoc function. The documents are created properly, but reimporting them into rstudio ends up with the error as described. My wild guess would be that somehow the output of assert_redoc is always false.

Pandoc version: 2.17.1.1

RStudio version (if applicable): 2022.02.0 Build 443

Greetings, Jonny