Package: toscutil 2.8.0

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.zip(r-4.5)toscutil_2.8.0.zip(r-4.4)toscutil_2.8.0.zip(r-4.3)
toscutil_2.8.0.tgz(r-4.4-any)toscutil_2.8.0.tgz(r-4.3-any)
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)

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

Peer review:

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

On CRAN:

3.00 score 1 stars 1 scripts 184 downloads 46 exports 1 dependencies

Last updated 5 months agofrom:9572482260. Checks:OK: 7. Indexed: yes.

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

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