Skip to content

seekr

0.2.0Package record

Search, Inspect, and Replace Text Across Files

0packages depend
2.7Kdownloads / year
100.0%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.2.0

This is a complete redesign of seekr.

seekr is now a much more ambitious package built around a different model of

search-and-replace. Instead of providing a small set of helpers for finding text

in files, it now introduces a full workflow for listing files, filtering files,

finding matches, inspecting and refining results, staging replacements, modifying

selected files, creating backups, and restoring them.

This release introduces the seekr_match vector, implemented as a vctrs

record-style (rcrd) vector. Each element represents one independent match in

one file, while fields store the file path, match location, matched text, planned

replacement, surrounding context, and related metadata.

This release is intentionally not backward compatible with seekr 0.1.3. The

scope of the package has expanded substantially, and keeping the previous API

Show all changes in 0.2.0Hide the rest of the changes in 0.2.0

would have required maintaining two separate paradigms side by side. The previous

API has therefore been removed, and existing code using earlier versions of

seekr will need to be rewritten with the new workflow-oriented API.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • WARNING12 OK, 1 WARNING2026-06-07
Show 1 earlier changeHide 1 earlier change
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.0
READMEYes · 1,160 wordsVignettesNoNEWSYes · 100% structured · mentions 0.2.0Citation fileNoWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
32 (9 internal)includes a package overview page
Examples that run
96%22 run in a plain check · 1 never run
Exported functions with examples
95%
Documented parameters
98%
Return-value docs
90%
Help pages citing references
0%

Downloads

2.7K
CRAN downloads in the past year
Rank #9,318 · ~7/day · ~221/mo
Daily download trend is not available in this view yet.
43130 days
1K90 days
2.7K1 year
Compare downloads with other packages →
Also on80 r2u6 autocran

Repository

2Stars
1Forks
0Open issues
0Open PRs
3Releases
65Commits
2Commit identities
65 commits · Last activity 2026-07-31 · Default branch at 0.2.0.9000, ahead of CRAN 0.2.0 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
88%
Median days to close, 50 most recently updated closed issues
8
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-05-05 · 22026-07-07 · 2
PracticesBeta

10 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/smartiing/seekr on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-07-31 · The repository has a site deploy workflow

pkgdown site last built 2026-07-31

Coverage (1)
Coverage reporting (Codecov)
Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)

Installing seekr adds 34 packages (22 with compiled code, 20 MB of source tarballs). Heaviest: stringi 11 MB, fs 1.4 MB, vctrs 1.0 MB.

Depends (1)
R >= 4.1
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.1.2 (2025), Copyright holder
Releases (4)

Pick two releases to compare their code metrics.

  • 0.2.0Latest
    record
    2026-07-10 · current release · diff ↗ ·
    removed 1 export
    seek_in
    added 33 exports
    field<-, as_match, as_seekr_path, coll, delete_backups, empty_stage, exclude_functions, exclusions, field, fields, filter_files, filter_match, fixed, is_dependency_dir, is_git_dir, is_minified_file, is_not_text_mime, last_backup, list_backups, match_files, match_text, new_seekr_match, open_backup_dir, regex, replace_files, replace_text, restore_files, restore_files_interactive, seekr, seekr_option and 3 more
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.4
    record
    2026-02-08 · diff ↗
  • 0.1.3
    record
    2025-05-11 · diff ↗
  • 0.1.2
    record
    2025-05-05
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-05-05
Total releases
4 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1
Download size
1.8 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("seekr")
Martingay, S. (2026). seekr: Search, Inspect, and Replace Text Across Files (Version 0.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.seekr

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for seekr version 0.2.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

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