An R package for two-way R Markdown to Microsoft Word conversion, enabling reversible documents that retain edits and tracked changes.
redoc is an R package that enables a reversible, two-way workflow between R Markdown and Microsoft Word documents. It solves the problem of maintaining reproducibility in R Markdown while allowing collaborative editing in Word by generating Word documents that can be de-rendered back to R Markdown, retaining all edits and tracked changes.
R users, data scientists, and researchers who need to collaborate with non-technical stakeholders using Microsoft Word while maintaining reproducible R Markdown workflows.
Developers choose redoc because it uniquely preserves edits and tracked changes when round-tripping between R Markdown and Word, unlike standard one-way conversion tools. It bridges the gap between reproducible research and real-world collaborative editing.
Reversible Reproducible Documents
Enables two-way conversion between R Markdown and Word, preserving all edits and tracked changes, as demonstrated by the dedoc() function that retrieves original .Rmd files.
Automatically converts Critic Markup to Word tracked changes and vice versa, supporting collaborative editing workflows without manual intervention.
Provides addins for rendering, updating, and de-rendering documents directly within RStudio, streamlining the workflow for developers.
Includes redoc_diff() function to visually compare changes between original and de-rendered R Markdown files, aiding in version control.
The project is explicitly labeled as alpha with core engine and API subject to change, making it unreliable for production use, as noted in the README.
Only supports Microsoft Word, requiring specific software and Pandoc versions (>=2.1.2), limiting cross-platform compatibility and flexibility.
Built on basic rmarkdown::word_document(), which may not support advanced Word styling compared to alternatives like officedown, as mentioned in the related work section.
A general-purpose tool for dynamic report generation in R
A lightweight, cross-platform, portable, and easy-to-maintain LaTeX distribution based on TeX Live
Generate reproducible html5 slides from R markdown
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.