Skip to content

nc

2026.4.20

Named Capture to Data Tables

4packages depend
7.2Kdownloads / year
99.2%test coverage
12/13checks pass

Overview

About
Maintained by Toby HockingFirst published 2019-09-2316 releasesCRAN page ↗GitHub ↗

User-friendly functions for extracting a data table (row for each match, column for each group) from non-tabular text data using regular expressions, and for melting columns that match a regular expression. Patterns are defined using a readable syntax that makes it easy to build complex patterns in terms of simpler, re-usable sub-patterns. Named R arguments are translated to column names in the output; capture groups without names are used internally in order to provide a standard interface to three regular expression 'C' libraries ('PCRE', 'RE2', 'ICU'). Output can also include numeric columns via user-specified type conversion functions.

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 14.3 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 1.03
99.2%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
66%
Return-value docs
100%
References docs
0%

Downloads

7.2K
CRAN downloads in the past year
Rank #5,113 · ~20/day · ~598/mo
Daily download trend is not available in this view yet.
39430 days
1.7K90 days
7.2K1 year
Compare downloads with other packages →
Also on563 r2u2 autocran

Repository

Repository
19Stars
3Forks
2Open issues
0Open PRs
0Releases
393Commits
3Contributors
393 commits · Last activity 2026-04-21

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/tdhock/nc on 2026-07-31.

Continuous integration (1)
GitHub Actions
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.14
Imports (1)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
4direct
0indirect

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer · added in 2024.2.21
Authors (1)
Author, Maintainer · added in 2024.2.21
Listed in earlier versions (1)
no longer listed · 2019.9.16 to 2024.1.31
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 2026.4.20Latest
    2026-04-21 · current release · diff ↗
  • 2026.2.20
    2026-02-26 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 2025.3.24
    2025-04-09 · diff ↗
  • 2025.1.21
    2025-01-21 · diff ↗
  • 2024.9.20
    2024-09-20 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2024.2.21
    2024-02-22 · diff ↗
  • unarchivedReturned to CRAN
    2024-02-22
  • archivedRemoved from CRAN
    2024-02-15
    issues were not corrected in time
  • 2024.1.31
    2024-02-01 · diff ↗
  • 2023.8.24
    2023-08-31 · diff ↗
  • 2023.5.1
    2023-05-02 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
Show 10 earlier events
  • R
    R 4.1.0 released · 2021-05-18
  • 2020.8.6
    2020-08-10 · diff ↗
  • 2020.5.13
    2020-05-14 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 2020.3.23
    2020-03-25 · diff ↗
  • 2020.2.27
    2020-03-04 · diff ↗
  • 2020.1.16
    2020-02-01 · diff ↗
  • 2019.10.19
    2019-10-28 · diff ↗
  • 2019.9.16
    2019-09-23
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-09-23
Total releases
16 / 7 yrs
License
GPL-3 OSI
Minimum R
≥ 2.14
Download size
622 KB
Installed size
not tracked yet
With dependencies
not tracked yet
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