Package: toscutil 2.8.0

Tobias Schmidt

toscutil:Utility Functions

Base R sometimes requires verbose statements for simple, often recurring tasks, such as printing text without trailing space, ending with newline. This package aims at providing shorthands for such tasks.

Authors:Tobias Schmidt [aut, cre]

toscutil_2.8.0.tar.gz
toscutil_2.8.0.tar.gz(r-4.5-noble)toscutil_2.8.0.tar.gz(r-4.4-noble)
toscutil_2.8.0.tgz(r-4.4-emscripten)toscutil_2.8.0.tgz(r-4.3-emscripten)
toscutil.pdf |toscutil.html
toscutil/json (API)

# Installtoscutil in R:
install.packages('toscutil',repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/toscm/toscutil/issues

46 exports 0.36 score 1 dependencies 215 downloads

Last updated 7 days agofrom:a6b5a6fe9e

Exports:%none%callercapture.output2cat0cat0ncat2catfcatfncatncatnncatsncheck_pkg_docsconfig_dirconfig_filecorndata_dirDOCSTRING_TEMPLATEdput2fgfind_description_filefunction_localsget_docstringget_formalsget_pkg_docsgetfdgetpdhelp2homeifthenis.nonelocalslogfnamednorm_pathnownow_msread_description_filerm_allsplit_docstringstubsys.exittrace_packageuntrace_packageupdate_docstringxdg_config_homexdg_data_home

Dependencies:rlang

Readme and manuals

Help Manual

Help pageTopics
Get Name of Calling Functioncaller
Capture output from a commandcapture.output2
Concatenate and Printcat0
Concatenate and Printcat0n
Concatenate and Printcat2
Format and Printcatf
Format and Printcatfn
Concatenate and Printcatn
Concatenate and Printcatnn
Concatenate and Printcatsn
Check Documented Functions in a Packagecheck_pkg_docs
Get Normalized Configuration Directory Path of a Programconfig_dir
Get Normalized Configuration File Path of a Programconfig_file
Return Corners of Matrix like Objectscorn
Get Normalized Data Directory Path of a Programdata_dir
Docstring TemplateDOCSTRING_TEMPLATE
Return ASCII representation of an R objectdput2
Foreground Color Codesfg
Find DESCRIPTION Filefind_description_file
Get Function Environment as Listfunction_locals
Get docstring for a Functionget_docstring
Get formals of a Functionget_formals
Get Documented Functions in a Packageget_pkg_docs
Get File Directorygetfd
Get Project Directorygetpd
Return help for topichelp2
Get USERPROFILE or HOMEhome
Shortcut for multiple if else statementsifthen
Truth checking as in Pythonis.none
Get specified Environment as Listlocals
Create automatically named Listnamed
Return Normalized Pathnorm_path
Get Current Date and Time as Stringnow now_ms
Return Default if None%none% op-null-default
Predict Method for Numeric Vectorspredict.numeric
Read DESCRIPTION File into a Listread_description_file
Remove all objects from global environmentrm_all
Split a docstring into a Head, Param and Tail Partsplit_docstring
Stub Function Argumentsstub
Terminate a non-interactive R Sessionsys.exit
Traces function calls from a packagetrace_package
Untraces function calls from a packageuntrace_package
Update docstring for a Functionupdate_docstring
Get XDG_CONFIG_HOMExdg_config_home
Get XDG_DATA_HOMExdg_data_home