Package: seekr 0.2.0.9000

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.

Authors:Sacha Martingay [aut, cre, cph]

seekr_0.2.0.9000.tar.gz
seekr_0.2.0.9000.zip(r-4.7-any)seekr_0.2.0.9000.zip(r-4.6-any)seekr_0.2.0.9000.zip(r-4.5-any)
seekr_0.2.0.9000.tgz(r-4.6-any)seekr_0.2.0.9000.tgz(r-4.5-any)
seekr_0.2.0.9000.tar.gz(r-4.7-any)seekr_0.2.0.9000.tar.gz(r-4.6-any)
seekr_0.2.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
seekr/json (API)

# Install 'seekr' in R:
install.packages('seekr', repos = c('https://smartiing.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/smartiing/seekr/issues

Pkgdown/docs site:https://smartiing.github.io

On CRAN:

Conda:

3.60 score 2 stars 388 downloads 35 exports 34 dependencies

Last updated from:b1b04dcfa2. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK156
source / vignettesOK207
linux-releaseOK149
macos-releaseOK168
macos-oldrelOK219
windows-develOK85
windows-releaseOK83
windows-oldrelOK97
wasm-releaseOK110

Exports:as_matchas_seekr_pathcolldelete_backupsempty_stageexclude_functionsexclusionsfieldfield<-fieldsfilter_filesfilter_matchfixedis_dependency_diris_git_diris_minified_fileis_not_text_mimelast_backuplist_backupslist_filesmatch_filesmatch_textnew_seekr_matchopen_backup_dirregexreplace_filesreplace_textrestore_filesrestore_files_interactiveseekseekrseekr_optionseekr_optionssort_within_fileswith_capture_groups_matrix

Dependencies:backportsbitbit64checkmateclicliprcpp11crayonfsgluehmslifecyclemagrittrmimepillarpkgconfigprettyunitsprocessxprogresspspurrrR6rappdirsreadrrlangstringistringrtibbletidyselecttzdbutf8vctrsvroomwithr

Readme and manuals

Help Manual

Help pageTopics
Normalize file paths for seekras_seekr_path
Convert 'seekr_match' vectors to and from data framesas.data.frame.seekr_match as_match as_tibble.seekr_match
List, inspect, open, and delete backupsbackups delete_backups last_backup list_backups open_backup_dir
Diagnose where a workflow became emptyempty_stage
Default file exclusion functionsexclude_functions is_dependency_dir is_git_dir is_minified_file is_not_text_mime
Inspect why files were excludedexclusions
Filter files to searchfilter_files
Filter matchesfilter_match
List files to searchlist_files
Find matches in filesmatch_files
Find matches in textmatch_text
Print matches with context and replacement previewprint.seekr_match
Replace selected matches in filesreplace_files
Replace selected matches in textreplace_text
Restore files from backupsrestore_files restore_files_interactive
Find matches in text filesseek seekr
Create 'seekr_match' vectorsnew_seekr_match seekr_match
Retrieve a seekr optionseekr_option
List seekr optionsseekr_options
Sort matches within each filesort_within_files
Inspect the structure of a 'seekr_match' vectorstr.seekr_match
Summarize matches and planned replacementsprint.summary_seekr_match summary.seekr_match
Use capture groups in function-based replacementswith_capture_groups_matrix