seekr: Extract Matching Lines from Matching Files
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.2 |
Imports: |
checkmate, cli, fs, lifecycle, purrr, readr, stringr, tibble, tidyr |
Suggests: |
testthat (≥ 3.0.0), withr |
Published: |
2025-05-05 |
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 LICENSE |
URL: |
https://github.com/smartiing/seekr,
https://smartiing.github.io/seekr/ |
NeedsCompilation: |
no |
Materials: |
README NEWS |
CRAN checks: |
seekr results [issues need fixing before 2025-05-19] |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=seekr
to link to this page.