Create Tables, Listings and Figures using Functions Styled after SAS™ Macros

Mimic the style of traditional reporting macros for clinical trials. The purpose is to generate tables, listings and figures that support clinical research. This package is well suited for firms or individuals who wish to incorporate R without changing their ways of working as it follows a traditional clinical research workflow. Invoke functions (instead of macros) to summarize data and produce formatted reports. This package differs from others in that it includes tools (wrappers) for both analyzing and reporting data.


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

0.1.2 by Chris Rook, 9 months ago


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


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


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


Authors: Chris Rook [aut, cre] , Yongwei Wang [aut] , GlaxoSmithKline Research & Development Limited [cph, fnd]


Documentation:   PDF Manual  


Apache License (== 2.0) license


Imports arrow, data.table, glue, jsonlite, rlang, xportr, Hmisc, r2rtf, haven, dplyr, tidyr, magrittr, stringr

Suggests knitr, rmarkdown, testthat, rprojroot, DT, kableExtra, admiral, tibble, lubridate, ggplot2, devtools, spelling


See at CRAN