Skip to content

Latest commit

 

History

History
69 lines (52 loc) · 3.51 KB

README.md

File metadata and controls

69 lines (52 loc) · 3.51 KB

ovpaged

lifecycle openvolley Codecov test coverage R-CMD-check

Pagedown templates for the Openvolley project. Inspiration taken (and some code borrowed) from pagedown, pagedreport.

Features:

  • automatically breaks long tables across pages, with table headers repeated on each new page

Installation

options(repos = c(openvolley = "https://openvolley.r-universe.dev",
                  CRAN = "https://cloud.r-project.org"))
install.packages("ovpaged")

## or

## install.packages("remotes") ## if needed
remotes::install_github("openvolley/ovpaged")

Usage

YAML options:

---
title: "Title of the report"
output:
    ovpaged::simple:
      toc: false
      auto_table_breaks: true
      striped: true
---

Additional YAML options:

subtitle: "Subtitle of the report"
author: "Author Name"
date: "`r Sys.Date()`"
google-font: true
main-font: EB Garamond
header-font: Architects Daughter
base-font-size: 18pt
header-image: "`r knitr::image_uri(my_image_file)`"
header-background-colour: red
header-title: Title for the header block

Include google-font: true if main-font and title-font are Google fonts.