seekr: Search, Inspect, and Replace Text Across Files

An inspectable and composable workflow for search-and-replace in text files. Files can be listed, filtered, and searched separately, with inspectable exclusions showing what was excluded and why. Matches are represented as structured vectors that can be printed with context, summarized, and filtered. Replacements can be defined at search time or set and updated after the search. Only matches present in the vector are modified when files are written. Backup and restore helpers are provided for file workflows. Text that has already been read can also be searched and updated directly, giving users control over input, output, and encoding when needed.

Version: 0.2.0
Depends: R (≥ 4.1)
Imports: checkmate, cli (≥ 3.6.1), fs, glue, methods, mime, pillar, processx, purrr, rappdirs, readr, rlang (≥ 1.1.1), stringi, stringr, tibble, utils, vctrs (≥ 0.6.3)
Suggests: testthat, withr, diffobj, dplyr
Published: 2026-07-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 LICENSE
URL: https://github.com/smartiing/seekr, https://smartiing.github.io/seekr/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: seekr results

Documentation:

Reference manual: seekr.html , seekr.pdf

Downloads:

Package source: seekr_0.2.0.tar.gz
Windows binaries: r-devel: seekr_0.1.4.zip, r-release: seekr_0.1.4.zip, r-oldrel: seekr_0.1.4.zip
macOS binaries: r-release (arm64): seekr_0.1.4.tgz, r-oldrel (arm64): seekr_0.1.4.tgz, r-release (x86_64): seekr_0.1.4.tgz, r-oldrel (x86_64): seekr_0.1.4.tgz
Old sources: seekr archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=seekr to link to this page.