Package: hgutils 0.2.7

hgutils: Collection of Utility Functions

A handy collection of utility functions designed to aid in package development, plotting and scientific research. Package development functionalities includes among others tools such as cross-referencing package imports with the description file, analysis of redundant package imports, editing of the description file and the creation of package badges for GitHub. Some of the other functionalities include automatic package installation and loading, plotting points without overlap, creating nice breaks for plots, overview tables and many more handy utility functions.

Authors:H.G. van den Boorn [aut, cre]

hgutils_0.2.7.tar.gz
hgutils_0.2.7.zip(r-4.5)hgutils_0.2.7.zip(r-4.4)hgutils_0.2.7.zip(r-4.3)
hgutils_0.2.7.tgz(r-4.4-any)hgutils_0.2.7.tgz(r-4.3-any)
hgutils_0.2.7.tar.gz(r-4.5-noble)hgutils_0.2.7.tar.gz(r-4.4-noble)
hgutils_0.2.7.tgz(r-4.4-emscripten)hgutils_0.2.7.tgz(r-4.3-emscripten)
hgutils.pdf |hgutils.html
hgutils/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/hvdboorn/hgutils/issues

On CRAN:

3.44 score 55 scripts 254 downloads 47 exports 23 dependencies

Last updated 5 years agofrom:3783d748b9. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 13 2024
R-4.5-winOKNov 13 2024
R-4.5-linuxOKNov 13 2024
R-4.4-winOKNov 13 2024
R-4.4-macOKNov 13 2024
R-4.3-winOKNov 13 2024
R-4.3-macOKNov 13 2024

Exports:%<>%%>%add_badgesanalyze_package_importscreate_contigency_tablecreate_table_onecreate_text_tablecrossref_descriptiondiscretize_numbersexclude_patientsformat_durationfrmtgeneric_implementationsget_breaksget_square_gridggplot_breaksinclusion_flowchartlist_common_packageslist_package_collectionsload_common_packagesload_package_collectionload_packagesmess_failmess_hintmess_infomess_numbmess_succmess_warnpercentage_tableprogressbarread.descriptionredundant_packagesrenderrm_empty_rowsrm_narnd_dblsep_thousandsseparate_valuesspinnerstartupstfuupdate_descriptionupdate_settingsvalid_funcnamevalid_pkgnamewrap_text_tablewrite.description

Dependencies:clicrayondplyrfansigenericsgluelifecyclelimSolvelpSolvemagrittrMASSpillarpkgconfigquadprogR6rlangstringistringrtibbletidyselectutf8vctrswithr

Readme and manuals

Help Manual

Help pageTopics
Find duplicated packages names.pkg_duplicated
Extracts the matches from stringr::str_match[_all].regexl
Add badges to the README file for use on Githubadd_badges
Analyze package importsanalyze_package_imports
Text representation of patient inclusion flowchartas.character.patient_flowchart
Table onecreate_contigency_table create_table_one percentage_table
Creates a text tablecreate_text_table
Set imports for _DESCRIPTION_ filecrossref_description
Description functionsdescription-functions read.description update_description write.description
Discretize continuous numbersdiscretize_numbers
Format time durationformat_duration
Format variable valuefrmt
Retrieve generic function implementationsgeneric_implementations
Create nice axis breaks for plotsget_breaks ggplot_breaks
Specifies a square grid which fits N objects.get_square_grid
Patient flowchartexclude_patients inclusion_flowchart
List package collectionslist_common_packages list_package_collections load_common_packages load_package_collection
Load and install packagesload_packages
Print the patient inclusion flowchartprint.patient_flowchart
Print a formatted percentage tableprint.percentage_table
Creates an animated progress barprogressbar render render.fraction_progressbar render.iteration_progressbar render.progressbar
Find redundant packagesredundant_packages
Remove empty rowsrm_empty_rows
Remove 'NA'rm_na
Round numberrnd_dbl
Adds comma's to separate thousands in numberssep_thousands
Separate valuesseparate_values
Creates an animated spinnerrender.spinner spinner
Cleans R for usestartup
S.T.F.U.: Stop Text From turning Upstfu
Update default function settingsupdate_settings
Validate package and function namesvalid_funcname valid_pkgname
Wrap string tablewrap_text_table