Overview
groomr is an R package designed to help you tidy and organize R objects and files. It provides functions for cleaning, renaming, splitting, and managing files and data, making workflows more efficient and reproducible.
If you find this project useful, please consider giving it a star!
Installation
You can install groomr using the remotes package:
# install.packages("remotes")
remotes::install_github("danielvartan/groomr")Usage
Here are some functions that you can use with groomr:
-
make_machine_readable(): Make a string machine-readable. -
normalize_names(): Make file and directory names machine-readable. -
remove_blank_line_dups(): Remove blank lines duplicates in files. -
replace_in_file(): Replace a pattern in files. -
sort_files_by_size(): Sort files based on their size. -
split_by_pattern(): Split a character vector by a pattern. -
split_file(): Split a single file intonparts. -
split_files_by_size(): Split files based on their size. -
to_title_case_pt(): Convert to title case considering Portuguese rules. -
zip_files_by_pattern(): Zip files by a pattern.
Click here to see the full list.
License
Copyright (C) 2026 Daniel Vartanian
groomr is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program. If not, see <https://www.gnu.org/licenses/>.
Contributing
Contributions are always welcome! Whether you want to report bugs, suggest new features, or help improve the code or documentation, your input makes a difference.
Before opening a new issue, please check the issues tab to see if your topic has already been reported.