Overview
groomr
is an R package designed to help you tidy and organize R objects and files efficiently. It provides a set of functions for cleaning, renaming, splitting, and managing files and data, making your workflows more streamlined and reproducible.
If you find this project useful, please consider giving it a star!
Installation
You can install groomr
using the remotes
package:
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 inton
parts. -
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
groomr
code is released under the GNU General Public License Version 3.
Copyright (C) 2025 Daniel Vartanian
The code in this repository 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 welcome, including bug reports. Take a moment to review the Guidelines for Contributing.
You can also support the development of groomr
by becoming a sponsor. Click here to make a donation. Please mention groomr
in your donation message.