The Ymisc package contains several miscellaneous functions
You can install the development version of Ymisc
# install.packages("devtools")
# devtools::install_github("YRHwang90/Ymisc")
install.packages("Ymisc", repos = c('https://yrhwang90.r-universe.dev', 'https://cloud.r-project.org'))