seekr: Extract Matching Lines from Matching Files (original) (raw)
Provides a simple interface to recursively list files from a directory, filter them using a regular expression, read their contents, and extract lines that match a user-defined pattern. The package returns a dataframe containing the matched lines, their line numbers, file paths, and the corresponding matched substrings. Designed for quick code base exploration, log inspection, or any use case involving pattern-based file and line filtering.
| Version: | 0.1.3 |
|---|---|
| Imports: | checkmate, cli, fs, lifecycle, purrr, readr, stringr, tibble, tidyr |
| Suggests: | testthat (≥ 3.0.0), withr |
| Published: | 2025-05-10 |
| DOI: | 10.32614/CRAN.package.seekr |
| Author: | Sacha Martingay [aut, cre, cph] |
| Maintainer: | Sacha Martingay <martingay.sacha at hotmail.com> |
| BugReports: | https://github.com/smartiing/seekr/issues |
| License: | MIT + file |
| URL: | https://github.com/smartiing/seekr,https://smartiing.github.io/seekr/ |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | seekr results |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=seekrto link to this page.