Polishing Content for 'Word' and 'PowerPoint'

Set of functions to polish content for Microsoft 'Word' and 'PowerPoint' into 'OOXML'. Polishing is the conversion of the R object into an 'OOXML' representation of the object that can then be added to 'Word' or 'PowerPoint' files.


polish

R-CMD-check

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")

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")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("polish")

0.3.1 by Ellis Hughes, 4 months ago


https://gsk-biostatistics.github.io/polish/, https://github.com/GSK-Biostatistics/polish/


Report a bug at https://github.com/GSK-Biostatistics/polish/issues/


Browse source code at https://github.com/cran/polish


Authors: Romain François [aut] , Ellis Hughes [aut, cre] , Shannon Haughton [aut] , GlaxoSmithKline Research & Development Limited [cph, fnd]


Documentation:   PDF Manual  


Apache License (>= 2) license


Imports cli, commonmark, dplyr, flextable, ggplot2, glue, gt, htmltools, magick, officer, purrr, rlang, rmarkdown, sloop, tibble, webshot2, xml2

Suggests testthat, withr


Imported by docorator.


See at CRAN