Skip to content

excerptr

Excerpt Structuring Comments from Your Code File and Set a Table of Contents

v2.1.0 · Oct 26, 2025 · BSD_2_clause + file LICENSE

Description

Ever read or wrote source files containing sectioning comments? If these comments are markdown style section comments, you can excerpt them and set a table of contents using the 'python' package 'excerpts' (<https://pypi.org/project/excerpts/>).

Downloads

CRAN

290

Last 30 days

16326th

648

Last 90 days

2.2K

Last year

Trend: +101.4% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

24

Last 90 days

102

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

1

Last 7 days

13

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Line coverage

Expression

Tests / Examples

Functions

3 1 exported

Complexity

1.3 avg / 2 max

Call network

3 nodes / 0 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

403

Files

96

Compiled share

0%

Has compiled src

No

Language breakdown

R 102 (25.3%)Tests 101 (25.1%)Docs 117 (29%)Vignettes 83 (20.6%)

API

Exported functions

1

Internal functions

2

Recent export changes

v2.0.0−2 get_excerpts, set_excertps_path

Testing & CI

Has tests

Yes

Test-to-code ratio

0.99

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.3.0

System requirements

1

C++ standard

License

BSD_2_clause + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

12

First release

2017-04-25

Latest release

2025-10-26

Avg cadence

25 days

Cold removal rate

100%

Dep drift

6

LOC over versions

v1.0.0: 536 LOCv1.0.1: 520 LOCv1.0.2: 608 LOCv1.1.0: 637 LOCv1.2.0: 637 LOCv1.3.0: 606 LOCv1.3.1: 611 LOCv1.4.0: 663 LOCv1.4.1: 663 LOCv2.0.0: 389 LOCv2.0.1: 383 LOCv2.1.0: 403 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies checkmate reticulate excerptr

Version History

13 tracked
new 2.1.0 Mar 10, 2026
updated 2.1.0 ← 2.0.1 diff Oct 25, 2025
updated 2.0.1 ← 2.0.0 diff Aug 4, 2021
updated 2.0.0 ← 1.4.1 diff Apr 24, 2019
updated 1.4.1 ← 1.4.0 diff Jun 2, 2018
updated 1.4.0 ← 1.3.1 diff Nov 29, 2017
updated 1.3.1 ← 1.3.0 diff Jul 7, 2017
updated 1.3.0 ← 1.2.0 diff Jun 21, 2017
updated 1.2.0 ← 1.1.0 diff May 27, 2017
updated 1.1.0 ← 1.0.2 diff May 13, 2017
updated 1.0.2 ← 1.0.1 diff May 1, 2017
updated 1.0.1 ← 1.0.0 diff Apr 27, 2017
new 1.0.0 Apr 24, 2017