Package: reuseme 0.0.2.9007

reuseme: Collections of Utility Functions to Work Across Projects

Allows you to browse current projects, rename files safely, add screenshots to project on Windows. It is also my personal library and contains wrapper around common functions, from dplyr and readxl. It takes advantage of cli hyperlinks. Finally, it provides a custom print method for tibbles, inspired by janitor, and readr.

Authors:Olivier Roy [aut, cre]

reuseme_0.0.2.9007.tar.gz
reuseme_0.0.2.9007.zip(r-4.5)reuseme_0.0.2.9007.zip(r-4.4)reuseme_0.0.2.9007.zip(r-4.3)
reuseme_0.0.2.9007.tgz(r-4.4-any)reuseme_0.0.2.9007.tgz(r-4.3-any)
reuseme_0.0.2.9007.tar.gz(r-4.5-noble)reuseme_0.0.2.9007.tar.gz(r-4.4-noble)
reuseme_0.0.2.9007.tgz(r-4.4-emscripten)reuseme_0.0.2.9007.tgz(r-4.3-emscripten)
reuseme.pdf |reuseme.html
reuseme/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/olivroy/reuseme/issues

On CRAN:

dplyredarstudio-project

3.83 score 5 stars 3 scripts 51 exports 49 dependencies

Last updated 12 days agofrom:530269e02a (on main). Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 26 2024
R-4.5-winNOTEOct 26 2024
R-4.5-linuxNOTEOct 26 2024
R-4.4-winNOTEOct 26 2024
R-4.4-macNOTEOct 26 2024
R-4.3-winNOTEOct 26 2024
R-4.3-macNOTEOct 26 2024

Exports:active_rs_docactive_rs_doc_copyactive_rs_doc_deleteactive_rs_doc_moveactive_rs_doc_navarrange_identitybrowse_pkgcase_if_anycheck_referenced_filescomplete_todocount_identitycount_pctdir_outlinedistinct_identityextract_cell_valuefile_move_dir_autofile_move_temp_autofile_outlinefile_rename_autofilter_detectfilter_identityfilter_if_anyfilter_if_any_identitylink_gh_issuemarkup_hrefmax_namedmin_namedmutate_identityna_if2names_identityopen_rs_docoutdated_pkgsproj_fileproj_listproj_outlineproj_switchquarto_helprename_files2screenshotslice_group_sampleslice_group_sample_identityslice_identityslice_max_identityslice_min_identityslice_min_maxslice_min_max_identityslice_sample_identitysolve_file_name_conflictsummarise_with_totalunique_nameduse_todo

Dependencies:askpassclicliprcolorspacecrayoncredentialscurldescdplyrfansifarverfsgenericsgertghgitcredsgluehttr2inijsonlitekitlabelinglifecyclemagrittrmunsellopensslpillarpkgconfigpurrrR6rappdirsRColorBrewerrlangrprojrootrstudioapiscalesstringistringrsystibbletidyselectusethisutf8vctrsviridisLitewhiskerwithryamlzip

Readme and manuals

Help Manual

Help pageTopics
Copy the active document to the same locationactive_rs_doc_copy
Delete the active RStudio document safelyactive_rs_doc_delete
Move the active document to another directoryactive_rs_doc_move
Open Files Pane at current document locationactive_rs_doc_nav
Browse pkgdown site if it existsbrowse_pkg
case-when, but checks for all matches, returns a charactercase_if_any
Count observations by group and compute percentagecount_pct
Helpers that return the same valuearrange_identity count_identity distinct_identity eda-identity filter_identity filter_if_any_identity mutate_identity names_identity slice_group_sample_identity slice_identity slice_max_identity slice_min_identity slice_min_max_identity slice_sample_identity
Elegant wrapper around filter and pullextract_cell_value
Move temporary file automatically from the R consolefile_move_temp_auto
Move file automatically between foldersfile_move_dir_auto file_rename_auto
Filter rows by patternfilter_detect
Keep rows that match one of the conditionsfilter_if_any
Transform to NA any of the conditionna_if2
Helpers that can return a named vectormax_named min_named named-base unique_named
Open a Document in RStudioactive_rs_doc open_rs_doc
Looks for outdated packagesoutdated_pkgs
Print interactive outline of file sectionsdir_outline file_outline outline proj_outline
Access the file outline within other projectproj_file
Specify 'proj' in functionsproj_list
Opens a RStudio project in a new sessionproj_switch
Interact with different RStudio projectsproj-reuseme
Show links to Quarto documentation of interestquarto_help
Rename an output or a data file and watch for referencesrename_files2
Save the current image in clipboard to png in your active directoryscreenshot
Explore all rows in a random groupslice_group_sample
Subset rows using their positionsslice_min_max
Compute a summary for groups with the total included.summarise_with_total
Add a TODO list by project to a TODO.R file in the base directoryuse_todo