Skip to content

prettydoc

0.4.1Package record

Creating Pretty Documents from R Markdown

2packages dependsuggested by 77
806.9Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Creating tiny yet beautiful documents and vignettes from R Markdown. The package provides the 'html_pretty' output format as an alternative to the 'html_document' and 'html_vignette' engines that convert R Markdown into HTML pages. Various themes and syntax highlight styles are supported.

Changes in 0.4.1

NEW FEATURES

  • Added the table of contents box to the hpstr theme.
  • Added the toc-title option to the hpstr theme, thanks to @marlycormar (#23).

BUG FIXES

  • Fixed the validity of HTML templates for the hpstr and leonids themes, reported by @grady (#22).
  • Tweaks for the hpstr theme.

From inst/NEWS.Rd in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-08
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.4.1
READMEYes · 588 wordsVignettesYes · 5 · dynamicNEWSYes · mentions 0.4.1Citation fileNo
Help pages
1
Examples that run
0%1 never run
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

806.9K
CRAN downloads in the past year
Rank #939 · ~2.2K/day · ~67.2K/mo
Daily download trend is not available in this view yet.
13.8K30 days
44.1K90 days
806.9K1 year
Compare downloads with other packages →
Also on794 r2u152 autocran4.5K conda_forge168 c2d4u

Repository

502Stars
80Forks
18Open issues
1Open PRs
0Releases
131Commits
4Commit identities
r-markdownmarkdownhtml
131 commits · Last activity 2021-01-26 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
4
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-15 · 4962026-09-22 · 502
PracticesBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/yixuan/prettydoc on 2026-10-21.

Docs source (1)

GitHub Pages site last deployed 2019-07-15

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing prettydoc adds 25 packages (14 with compiled code, 18 MB of source tarballs). Heaviest: bslib 5.6 MB, sass 2.9 MB, rmarkdown 2.1 MB.

Depends (0)
none
Imports (1)
LinkingTo (0)
none
Suggests (2)
knitrKernSmooth
Enhances (0)
none

People & History

People (10)
Author, Maintainer since 0.1.0 (2016)
Contributor
pandoc template for rmarkdown
Contributor · added in 0.3.0
the KaTeX library
Contributor · added in 0.3.0
the KaTeX library
Contributor
the Cayman, Tactile and Architect themes
Contributor
the Open Sans fonts
Contributor · added in 0.2.0
the HPSTR theme
Contributor
the html_vignette() function
Contributor
the html_vignette() function
Show 1 more contributorHide 1 contributor
Contributor · added in 0.2.0
the Leonids theme
Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.4.1Latest
    record
    2021-01-10 · current release · diff ↗
  • 0.4.0
    record
    2020-08-10 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.3.1
    record
    2019-11-23 · diff ↗
  • 0.3.0
    record
    2019-07-18 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 0.2.1
    record
    2018-01-16 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.2.0
    record
    2016-09-01 · diff ↗
Show 2 earlier eventsHide 2 earlier events
  • 0.1.0
    record
    2016-08-11
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-08-11
Total releases
7 / 10 yrs
License
Apache License (>= 2.0)
Download size
962 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("prettydoc")
Qiu, Y., Allaire, J., Alpert, S., Eisenberg, E., Long, J., Matteson, S., Rose, M., Wickham, H., Xie, Y., & Zou, R. (2021). prettydoc: Creating Pretty Documents from R Markdown (Version 0.4.1) [Computer software]. https://doi.org/10.32614/CRAN.package.prettydoc

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for prettydoc version 0.4.1 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy