Skip to content

knitr

1.51

A General-Purpose Package for Dynamic Report Generation in R

11,188packages depend
14.4Mdownloads / year
39.5%test coverage
13/13checks pass

Overview

About
Maintained by Yihui XieFirst published 2012-01-1775 releasesCRAN page ↗GitHub ↗

Provides a general-purpose tool for dynamic report generation in R using Literate Programming techniques.

Install

Health

CRAN checks
13OK
Slowest check: 3.5 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.17
39.5%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-07-11
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-10
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-07-01
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-29
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
89%
Return-value docs
64%
References docs
43%

Downloads

14.4M
CRAN downloads in the past year
Rank #39 · ~39.5K/day · ~1.2M/mo
Daily download trend is not available in this view yet.
1.1M30 days
3.6M90 days
14.4M1 year
Compare downloads with other packages →
Also on205.6K r2u183 autocran1.1M conda_forge361 bioconda4.1K c2d4u

Repository

Repository
2,460Stars
878Forks
132Open issues
22Open PRs
65Releases
6,489Commits
190Contributors
knitrrliterate-programmingsweavermarkdowndynamic-documentsr-package
6,489 commits · Last activity 2026-07-01 · +0.2% stars, 30d

Stars over time

2025-07-18 · 2,4062026-07-17 · 2,459

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/yihui/knitr on 2026-07-19.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
Makefile
Automation and maintenance (1)
Dependabot
Lint, format, editor (1)
RStudio project
Show all practices
Coverage (1)
Codecov
Governance and community (2)
Issue templatesFunding
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Code & Tests

People & History

People (107)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (105)
Contributor · added in 1.17
Contributor · added in 1.40
Contributor · added in 1.9
Contributor · added in 0.8
Contributor · added in 0.5
Contributor, Copyright holder · added in 1.9
Contributor · added in 1.9
Show 97 more contributors
Contributor · added in 1.11
Contributor · added in 1.9
Contributor · added in 1.11
Contributor · added in 1.9
Contributor · added in 0.7
Contributor · added in 1.40
Contributor · added in 1.12
Contributor · added in 1.3
Contributor · added in 1.19
Contributor · added in 1.7
Contributor · added in 1.0.5
Contributor · added in 1.18
Contributor · added in 0.5
Contributor · added in 1.18
Contributor · added in 1.40
Contributor · added in 1.3
Contributor · added in 1.16
Contributor · added in 1.3
Contributor · added in 1.18
Contributor · added in 1.9
Contributor · added in 3.0.1
Contributor · added in 1.16
Contributor · added in 1.41
Contributor · added in 1.16
Contributor · added in 1.10
Contributor · added in 1.5
Contributor · added in 1.6
Contributor · added in 1.21
Contributor · added in 1.31
Contributor · added in 1.25
Contributor · added in 1.10
Contributor · added in 0.9
Contributor · added in 1.7
Contributor · added in 1.23
Contributor · added in 1.7
Contributor · added in 1.19
Contributor · added in 1.29
Contributor · added in 1.1
Contributor · added in 1.38
Contributor · added in 0.5
Contributor · added in 1.9
Contributor · added in 1.32
Contributor · added in 1.10
Contributor · added in 0.7
Contributor · added in 1.3
Contributor · added in 1.9
Contributor · added in 1.6
Contributor · added in 1.7
Contributor · added in 1.9
Contributor · added in 1.16
Contributor · added in 1.16
Contributor · added in 1.20
Contributor · added in 1.6
Contributor · added in 1.7
Contributor · added in 1.21
Contributor · added in 1.40
Contributor · added in 1.11
Contributor · added in 1.20
Contributor · added in 1.6
Contributor · added in 1.9
Contributor · added in 1.10
Contributor · added in 1.23
Contributor · added in 0.7
Contributor · added in 1.12
Contributor · added in 1.9
Contributor · added in 1.22
Contributor · added in 1.9
Contributor · added in 1.3
Contributor · added in 1.16
Contributor · added in 1.3
Contributor · added in 1.32
Contributor · added in 1.18
Contributor · added in 1.6
Contributor · added in 1.9
Contributor · added in 1.15.1
Contributor
Contributor · added in 3.0.1
Contributor · added in 0.6.3
Contributor · added in 3.0.1
Contributor · added in 2.15.0
Contributor · added in 1.9
Contributor · added in 1.6
Contributor · added in 1.21
Contributor · added in 0.7
Contributor
Contributor · added in 1.19
Contributor · added in 1.12
Contributor · added in 0.7
Contributor · added in 1.33
Contributor · added in 1.23
Contributor · added in 1.10
Contributor · added in 1.21
Contributor · added in 1.10
Contributor · added in 1.21
Contributor · added in 1.4
Contributor · added in 0.7
Copyright holders (2)
Contributor, Copyright holder · added in 1.9
Copyright holder, Funder · added in 1.43
Funders (1)
Copyright holder, Funder · added in 1.43
Listed in earlier versions (8)
no longer listed · 2.15.0 to 2.15.2
no longer listed · 0.9 to 1.2
no longer listed · 1.3 to 1.7
no longer listed · 1.9 to 1.22
no longer listed · 1.9 to 1.51
no longer listed · 1.9 to 1.51
no longer listed · 1.9 to 1.51
Package Timeline

75 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.51Latest
    2025-12-20 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.50
    2025-03-16 · diff ↗
  • 1.49
    2024-11-08 · diff ↗
  • 1.48
    2024-07-07 · diff ↗
  • 1.47
    2024-05-29 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.46
    2024-04-06 · diff ↗
  • 1.45
    2023-10-30 · diff ↗
  • 1.44
    2023-09-11 · diff ↗
  • 1.43
    2023-05-25 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.42
    2023-01-25 · diff ↗
  • 1.41
    2022-11-18 · diff ↗
  • 1.40
    2022-08-24 · diff ↗
Show 75 earlier events

Package metadata

First published
2012-01-17
Total releases
75 / 14 yrs
License
GPL
Minimum R
≥ 3.6.0
Download size
472 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →