polish

The goal of polish is to convert R objects into ooxml that is viable for Word documents and PowerPoint presentations.

Installation

You can install the development version of polish from GitHub with:

# install.packages("devtools")
# devtools::install_github("GSK-Biostatistics/polish")
install.packages("polish", repos = c('https://gsk-biostatistics.r-universe.dev', 'https://cloud.r-project.org'))

Example

This is a basic example which shows you how to convert R objects into ooxml:

library(polish)
## basic example code

## Make word based ooxml
polish_content("{polish} is a great package!", type = "word")

## Make pptx based ooxml
polish_content("{polish} is a great package!", type = "pptx")