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.

Package details

AuthorSacha Martingay [aut, cre, cph]
MaintainerSacha Martingay <martingay.sacha@hotmail.com>
LicenseMIT + file LICENSE
Version0.1.3
URL https://github.com/smartiing/seekr https://smartiing.github.io/seekr/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("seekr")

Try the seekr package in your browser

Any scripts or data that you put into this service are public.

seekr documentation built on June 8, 2025, 11:13 a.m.