Handy File and String Manipulation
Overview
This started out as a package for file and string manipulation. Since then, the 'fs' and 'strex' packages emerged, offering functionality previously given by this package (but it's done better in these new ones). Those packages have hence almost pushed 'filesstrings' into extinction. However, it still has a small number of unique, handy file manipulation functions which can be seen in the vignette. One example is a function to remove spaces from all file names in a directory.
NEW FEATURES
- Add github.io website to DESCRIPTION.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 35includes a package overview page
- Examples that run
- 36%4 run in a plain check · 7 never run
- Exported functions with examples
- 32%
- Documented parameters
- 100%
- Return-value docs
- 32%
- Help pages citing references
- 3%
- Files HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 2
12 development-tooling and community-health practices detected across 9 families in the upstream repository
Checks run against github.com/rorynolan/filesstrings on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2024-02-03 · The repository has a site deploy workflow
Show all practicesHide 5 practices
Dependencies
Installing filesstrings adds 13 packages (10 with compiled code, 15 MB of source tarballs). Heaviest: stringi 11 MB, vctrs 1.0 MB, rlang 766 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 3.4.0Latest
- 3.3.02024-01-31 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 3.2.42023-01-25 · diff ↗
- 3.2.32022-08-09 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 3.2.22021-04-18 · diff ↗
- 3.2.12020-10-18 · diff ↗
- 3.2.02020-10-10 · diff ↗
- 3.1.72020-10-03 · diff ↗
- 3.1.62020-09-16 · diff ↗
- RR 4.0.0 released · 2020-04-24
Show 26 earlier eventsHide 26 earlier events
- 3.1.52019-06-27 · diff ↗
- 3.1.42019-06-14 · diff ↗
- 3.1.32019-06-06 · diff ↗
- 3.1.22019-05-29 · diff ↗
- 3.1.12019-05-14 · diff ↗
- 3.1.02019-05-08 · diff ↗ ·
removed 7 exports
count_matches, get_currencies, get_currency, str_first_instance_indices, str_last_instance_indices, str_nth_instance_indices, str_with_patternsadded 68 exports
after_first, after_last, after_nth, alphord_nums, before_first, before_last, before_nth, elem, elems, extract_currencies, first_currency, last_currency, locate_first, locate_last, locate_nth, nth_currency, paste_elems, split_by_numbers, split_by_nums, split_camel_case, str_alphord_nums, str_before_last_dot, str_can_be_numeric, str_elems, str_extend_char_vec, str_extract_currencies, str_extract_non_numerics, str_extract_numbers, str_first_currency, str_first_non_numeric and 38 more - RR 3.6.0 released · 2019-04-26
- 3.0.02018-10-30 · diff ↗
- 2.7.02018-09-03 · diff ↗
- 2.6.02018-08-15 · diff ↗ ·
added 9 exports
first_number_before_first, first_number_before_last, first_number_before_mth, last_number_before_first, last_number_before_last, last_number_before_mth, nth_number_before_first, nth_number_before_last, nth_number_before_mth - 2.5.02018-06-29 · diff ↗
- 2.4.02018-05-18 · diff ↗ ·
removed 40 exports
AllEqual, BeforeLastDot, CanBeNumeric, CharListElemsNthElem, CountMatches, CreateDirsIfNotThere, DuplicatesToSingles, ExtendCharVec, ExtractNonNumerics, ExtractNumbers, GetCurrencies, GetCurrency, GiveExt, GroupClose, LocateBraces, MergeTablesOnDisk, MoveFiles, NiceFileNums, NiceNums, NthNonNumeric, NthNumber, NumListElemsNthElem, PasteCollapseListElems, PasteDifferentLengths, PutInPos, RemoveDirs, RemoveFileNameSpaces, RemoveQuoted, RenameWithNums, SplitCamelCase and 10 moreadded 9 exports
first_number_after_first, first_number_after_last, first_number_after_mth, last_number_after_first, last_number_after_last, last_number_after_mth, nth_number_after_first, nth_number_after_last, nth_number_after_mth - RR 3.5.0 released · 2018-04-23
- 2.2.02018-04-18 · diff ↗
- 2.1.0
- 2.0.42018-02-09 · diff ↗
- 2.0.22018-01-05 · diff ↗
- 2.0.12017-12-12 · diff ↗
- 2.0.02017-12-01 · diff ↗ ·
removed 8 exports
create_dirs, merge_tables_on_disk, num_list_nth_elems, paste_collapse_list_elems, paste_different_lengths, remove_dirs, str_list_nth_elems, str_list_remove_emptiesadded 12 exports
create_dir, first_non_numeric, first_number, last_non_numeric, last_number, remove_dir, str_after_first, str_after_last, str_before_first, str_before_last, str_first_instance_indices, str_last_instance_indices - 1.1.02017-07-05 · diff ↗ ·
added 41 exports
all_equal, before_last_dot, can_be_numeric, count_matches, create_dirs, extend_char_vec, extract_non_numerics, extract_numbers, get_currencies, get_currency, give_ext, group_close, locate_braces, merge_tables_on_disk, move_files, nice_file_nums, nice_nums, nth_non_numeric, nth_number, num_list_nth_elems, paste_collapse_list_elems, paste_different_lengths, put_in_pos, remove_dirs, remove_filename_spaces, remove_quoted, rename_with_nums, singleize, str_after_nth, str_before_nth and 11 more - 1.0.02017-06-05 · diff ↗ ·
removed 2 exports
PutFilesInDir, SplitCamelcaseadded 3 exports
SplitCamelCase, dir.remove, file.move - RR 3.4.0 released · 2017-04-21
- 0.4.02017-04-11 · diff ↗
- 0.3.2
- 0.3.12017-02-23
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2017-02-23
- Total releases
- 31 / 9 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5
- Download size
- 47 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("filesstrings")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.21105/joss.00260.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.