Time-Saving Package for Creating Reports

Provides templates for reports in 'rmarkdown' and functions to create tables and summaries of data.


fastrep

R buildstatus Codecovtest coverage

Documentation

You can consult the documentation here

Overview

Whenever I created a file in Rmarkdown, there was a pattern of necessary packages and functions that I almost always used.
So this package provides a template for pdf reports in Rmarkdown and quite usual functions, note that it is a package more aggregator than creator.

Installation

devtools::install_github("https://github.com/AlissonRP/fastrep")
remotes::install_github("https://github.com/AlissonRP/fastrep")

Recommendation

To generate a pdf in Rmarkdown is recommended to use tinytex. If you don't have, use:

tinytex::install_tinytex()

Use of default template

rmarkdown::draft("namefile.Rmd", template = "fast_report", package = "fastrep")

Use of paper template

rmarkdown::draft("namefile.Rmd", template = "fast_paper", package = "fastrep", create_dir = FALSE)

Functions available

  • tbl: This function is used to generate tables
  • freq_tbl: This function assists in creating frequency tables (tibble)
  • cross_tbl: 2x2 table, values can be absolute or marginal rows using argument marg = TRUE
  • describe: Summarize the data.frame outputting a tibble

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

0.7 by Alisson Rosa, 4 years ago


Report a bug at https://github.com/AlissonRP/fastrep/issues


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


Authors: Alisson Rosa [aut, cre]


Documentation:   PDF Manual  


GPL license


Imports dplyr, ggplot2, janitor, kableExtra, lifecycle, magrittr, purrr, tidyr

Suggests covr, knitr, rmarkdown, testthat


See at CRAN