Package: tinycodet 0.5.3

tinycodet: Functions to Help in your Coding Etiquette

Adds some functions to help in your coding etiquette. 'tinycodet' primarily focuses on 4 aspects. 1) Safer decimal (in)equality testing, standard-evaluated alternatives to with() and aes(), and other functions for safer coding. 2) A new package import system, that attempts to combine the benefits of using a package without attaching it, with the benefits of attaching a package. 3) Extending the string manipulation capabilities of the 'stringi' R package. 4) Reducing repetitive code. Besides linking to 'Rcpp', 'tinycodet' has only one other dependency, namely 'stringi'.

Authors:Tony Wilkes [aut, cre, cph]

tinycodet_0.5.3.tar.gz
tinycodet_0.5.3.zip(r-4.5)tinycodet_0.5.3.zip(r-4.4)tinycodet_0.5.3.zip(r-4.3)
tinycodet_0.5.3.tgz(r-4.4-x86_64)tinycodet_0.5.3.tgz(r-4.4-arm64)tinycodet_0.5.3.tgz(r-4.3-x86_64)tinycodet_0.5.3.tgz(r-4.3-arm64)
tinycodet_0.5.3.tar.gz(r-4.5-noble)tinycodet_0.5.3.tar.gz(r-4.4-noble)
tinycodet_0.5.3.tgz(r-4.4-emscripten)tinycodet_0.5.3.tgz(r-4.3-emscripten)
tinycodet.pdf |tinycodet.html
tinycodet/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/tony-aw/tinycodet/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

5.14 score 5 stars 24 scripts 576 downloads 80 exports 2 dependencies

Last updated 3 months agofrom:1330f216db. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 21 2024
R-4.5-win-x86_64OKNov 21 2024
R-4.5-linux-x86_64OKNov 21 2024
R-4.4-win-x86_64OKNov 21 2024
R-4.4-mac-x86_64OKNov 21 2024
R-4.4-mac-aarch64OKNov 21 2024
R-4.3-win-x86_64OKNov 21 2024
R-4.3-mac-x86_64OKNov 21 2024
R-4.3-mac-aarch64OKNov 21 2024

Exports:%:=%%?=%%[!if]%%[if]%%<-c%%=numtype%%=strtype%%col~%%d!{}%%d!=%%d{}%%d<%%d<=%%d==%%d>%%d>=%%installed in%%n&%%out%%row~%%s-%%s!{}%%s{}%%s*%%s//%%s/%%s+%%s<>%%s><%%s$%%sget%%ss%%strim%%unreal =%%xor%aes_proas_boolas_chras_cplxas_dblas_intas_rawattr.importhelp.importimport_asimport_dataimport_inopsimport_inops.controlimport_intimport_LLis_wholenumberis.tinyimportlock_TFpkg_get_depspkg_get_deps_minimalpkg_lsfpversion_check4mismatchpversion_reportreport_inopss_chrclss_colls_fixeds_regexsafer_partialmatchsource_selectionstrcut_brkstrcut_locstrfindstrfind<-stri_c_matstri_join_matstri_locate_ithstri_locate_ith_boundariesstri_locate_ith_charclassstri_locate_ith_collstri_locate_ith_fixedstri_locate_ith_regexstri_paste_mattransform_ifwith_pro

Dependencies:Rcppstringi

Readme and manuals

Help Manual

Help pageTopics
tinycodet: Functions to Help in your Coding Etiquettetinycodet-package aaa0_tinycodet_help tinycodet tinycodet_help
Overview of the 'tinycodet' "Safer" Functionalityaaa1_tinycodet_safer tinycodet_safer
Overview of the 'tinycodet' Import Systemaaa2_tinycodet_import tinycodet_import
Overview of the 'tinycodet' Extension of 'stringi'aaa3_tinycodet_strings tinycodet_strings
Overview of the 'tinycodet' "Don't Repeat Yourself" Functionalityaaa4_tinycodet_dry tinycodet_dry
Overview of the 'tinycodet' Miscellaneous Functionalityaaa5_tinycodet_misc tinycodet_misc
Atomic Type Casting With Names and Dimensions Preservedas_bool as_chr as_cplx as_dbl as_int as_raw atomic_typecast
Safer Decimal Number (In)Equality Testing Operators%d!=% %d!{}% %d<% %d<=% %d==% %d>% %d>=% %d{}% decimal_truth is_wholenumber
Import R-package, its Re-exports, Dependencies, and/or Extensions, Under a Single Aliasimport_as
Directly Return a Data-set From a Packageimport_data
(Un)Expose Infix Operators From Package Namespace in the Current Environmentimport_inops
import_inops.controlimport_inops.control
Miscellaneous import_ - Functionsimport_int import_LL
General In-place Modifier Operator%:=% inplace
Lock T, Lock F, or Create Locked Constants%<-c% lock lock_TF
Additional Logic Operators%=numtype% %=strtype% %?=% %n&% %out% %xor% logic_ops
Row- or Column-wise Re-ordering of Matrices%col~% %row~% matrix_ops
Miscellaneous Package Related Functions%installed in% pkgs pkg_get_deps pkg_get_deps_minimal pkg_lsf
Check for Package Versions Mismatchpversion pversion_check4mismatch pversion_report
Report Infix Operatorsreport_inops
Pattern Specifications for String Related Operatorss_chrcls s_coll s_fixed s_pattern s_regex
Set Safer Dollar, Arguments, and Attribute Matchingsafer_partialmatch
Source Specific Objects from Scriptsource_selection
String Arithmetic Operators%s-% %s/% %s//% %ss% str_arithmetic
'stringi' Pattern Search Operators%s!{}% %s{}% strfind strfind<- str_search
String Subsetting Operators%s<>% %s><% %sget% %strim% str_subset_ops
Cut Stringsstrcut_brk strcut_loc
Concatenate Character Matrix Row-wise or Column-wisestri_c_mat stri_join_mat stri_paste_mat
Locate i^{th} Pattern Occurrence or Text Boundarystri_locate_ith stri_locate_ith_boundaries stri_locate_ith_charclass stri_locate_ith_coll stri_locate_ith_fixed stri_locate_ith_regex
Conditional Sub-setting and In-place Replacement of Unreal Values%unreal =% %[!if]% %[if]% subset_if
transform_if: Conditional Sub-set Transformation of Atomic objectstransform_if
Standard Evaluated Versions of Some Common Expression-Evaluation Functionsaes_pro with_pro
Helper Functions for the 'tinycodet' Package Import Systemattr.import help.import is.tinyimport x.import