Package: rtemis.core 0.3.1

E.D. Gennatas

rtemis.core: Core Utilities for the 'rtemis' Ecosystem

Utilities used across packages of the 'rtemis' ecosystem. Includes the msg() messaging system and the fmt() formatting system. Provides a library of 'S7' properties, test_* functions that return logical values, check_* functions that throw informative errors, and clean_* functions that return validated and coerced values. This code began as part of the 'rtemis' package (<doi:10.32614/CRAN.package.rtemis>).

Authors:E.D. Gennatas [aut, cre, cph]

rtemis.core_0.3.1.tar.gz
rtemis.core_0.3.1.tar.gz(r-4.7-any)rtemis.core_0.3.1.tar.gz(r-4.6-any)
rtemis.core_0.3.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
rtemis.core/json (API)

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

Bug tracker:https://github.com/rtemis-org/rtemis.core/issues

On CRAN:

Conda:

3.35 score 5 packages 1 scripts 453 downloads 128 exports 2 dependencies

Last updated from:e4712f593b. Checks:4 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK119
source / vignettesOK184
linux-release-x86_64OK116
wasm-releaseOK104

Exports:abbreviate_classabortansi256_to_hexboldbounded_double_propertycatsizecharacter_scalarcheck_charactercheck_character_scalarcheck_data.tablecheck_dependenciescheck_double_scalarcheck_enumcheck_file_existscheck_float_neg1_1check_float01exccheck_float01inccheck_float0poscheck_floatposcheck_floatpos1check_inheritscheck_integer_scalarcheck_logicalcheck_logical_scalarcheck_nonneg_double_scalarcheck_nonneg_double_vectorcheck_numericcheck_optional_character_scalarcheck_optional_double_scalarcheck_optional_integer_scalarcheck_optional_logical_scalarcheck_optional_nonneg_double_scalarcheck_optional_nonneg_double_vectorcheck_optional_pos_double_scalarcheck_optional_pos_double_vectorcheck_optional_pos_integer_scalarcheck_optional_prob_scalarcheck_optional_prob_vectorcheck_optional_scalar_charactercheck_optional_unit_open_vectorcheck_pos_double_scalarcheck_pos_double_vectorcheck_pos_integer_scalarcheck_prob_scalarcheck_prob_vectorcheck_scalar_charactercheck_scalar_logicalcheck_tabularcheck_unit_open_scalarcheck_unit_open_vectorclean_colnamesclean_intclean_namesclean_posintcol256collapse_headdatetimedbgddScidouble_scalarenumfmtfmt_gradientfn2labelformat_traceget_msg_sinkget_output_typeget_verbositygrayhighlighthighlightbiginfointeger_scalaritaliclabelifylogical_scalarmatch_argmsgmsg0msgdonemsgstartnaynonneg_double_scalarnonneg_double_vectornonneg_integer_scalarobjcatoptionaloptional_character_scalaroptional_double_scalaroptional_integer_scalaroptional_logical_scalaroptional_nonneg_double_scalaroptional_nonneg_double_vectoroptional_nonneg_integer_scalaroptional_pos_double_scalaroptional_pos_double_vectoroptional_pos_integer_scalaroptional_prob_scalaroptional_prob_vectoroptional_unit_open_scalaroptional_unit_open_vectoroxfordcommapad_stringplainpos_double_scalarpos_double_vectorpos_integer_scalarprintdfprintlsprob_scalarprob_vectorredreprrepr_lsrepr_S7namertemis_colorsset_msg_sinkshow_dfshow_tablestrip_ansisuccesstest_inheritsthinunit_open_scalarunit_open_vectorwarnwith_msg_sinkyay

Dependencies:data.tableS7

Readme and manuals

Help Manual

Help pageTopics
'rtemis.core': Rtemis Utilitiesrtemis.core-package rtemis.core
Abbreviate object class nameabbreviate_class
Dual-channel error signalabort
Convert ANSI 256 color code to HEXansi256_to_hex
Make text boldbold
Create a bounded double S7 propertybounded_double_property
Non-empty character scalar S7 propertycharacter_scalar
Check charactercheck_character
Check character scalarcheck_character_scalar
Check data.tablecheck_data.table
'rtemis.core' internal: Dependencies checkcheck_dependencies
Check double scalarcheck_double_scalar
Check if value is in set of allowed valuescheck_enum
Check file existscheck_file_exists
Check float -1 <= x <= 1check_float_neg1_1
Check float between 0 and 1, exclusivecheck_float01exc
Check float between 0 and 1, inclusivecheck_float01inc
Check float greater than or equal to 0check_float0pos
Check positive floatcheck_floatpos
Check float in (0, 1]check_floatpos1
Check class of objectcheck_inherits
Check integer scalarcheck_integer_scalar
Check logicalcheck_logical
Check logical scalarcheck_logical_scalar
Check non-negative double scalarcheck_nonneg_double_scalar
Check non-negative double vectorcheck_nonneg_double_vector
Check numericcheck_numeric
Check optional character scalarcheck_optional_character_scalar
Check optional double scalarcheck_optional_double_scalar
Check optional integer scalarcheck_optional_integer_scalar
Check optional logical scalarcheck_optional_logical_scalar
Check optional non-negative double scalarcheck_optional_nonneg_double_scalar
Check optional non-negative double vectorcheck_optional_nonneg_double_vector
Check optional positive double scalarcheck_optional_pos_double_scalar
Check optional positive double vectorcheck_optional_pos_double_vector
Check optional positive integer scalarcheck_optional_pos_integer_scalar
Check optional probability scalarcheck_optional_prob_scalar
Check optional probability vectorcheck_optional_prob_vector
Check Optional Scalar Charactercheck_optional_scalar_character
Check optional open-unit-interval vectorcheck_optional_unit_open_vector
Check positive double scalarcheck_pos_double_scalar
Check positive double vectorcheck_pos_double_vector
Check positive integer scalarcheck_pos_integer_scalar
Check probability scalarcheck_prob_scalar
Check probability vectorcheck_prob_vector
Check Scalar Charactercheck_scalar_character
Check Scalar Logicalcheck_scalar_logical
Check object is tabularcheck_tabular
Check open-unit-interval scalarcheck_unit_open_scalar
Check open-unit-interval vectorcheck_unit_open_vector
Clean column namesclean_colnames
Clean integer inputclean_int
Clean namesclean_names
Check positive integerclean_posint
Apply 256-color formattingcol256
Collapse head of vector with commas followed by ellipsiscollapse_head
Debug log messagedbg
Format Numbers for PrintingddSci
Double scalar S7 propertydouble_scalar
Create an enum S7 propertyenum
Text formattingfmt
Gradient textfmt_gradient
Pretty-print a captured call traceformat_trace
Get the current rtemis message sinkget_msg_sink
Get output typeget_output_type
Resolve the current logging verbosityget_verbosity
Highlight texthighlight
Informational log messageinfo
Integer scalar S7 propertyinteger_scalar
Format text for label printinglabelify
Logical scalar S7 propertylogical_scalar
Match Arguments Ignoring Casematch_arg
Message with provenancemsg msg0
msgdonemsgdone
msgstartmsgstart
Non-negative double scalar S7 propertynonneg_double_scalar
Non-negative double vector S7 propertynonneg_double_vector
Non-negative integer scalar S7 propertynonneg_integer_scalar
Create an optional S7 typeoptional
Optional non-empty character scalar S7 propertyoptional_character_scalar
Optional double scalar S7 propertyoptional_double_scalar
Optional integer scalar S7 propertyoptional_integer_scalar
Optional logical scalar S7 propertyoptional_logical_scalar
Optional non-negative double scalar S7 propertyoptional_nonneg_double_scalar
Optional non-negative double vector S7 propertyoptional_nonneg_double_vector
Optional non-negative integer scalar S7 propertyoptional_nonneg_integer_scalar
Optional positive double scalar S7 propertyoptional_pos_double_scalar
Optional positive double vector S7 propertyoptional_pos_double_vector
Optional positive integer scalar S7 propertyoptional_pos_integer_scalar
Optional probability scalar S7 propertyoptional_prob_scalar
Optional probability vector S7 propertyoptional_prob_vector
Optional open-unit-interval scalar S7 propertyoptional_unit_open_scalar
Optional open-unit-interval vector S7 propertyoptional_unit_open_vector
Force plain text when using 'message()'plain
Positive double scalar S7 propertypos_double_scalar
Positive double vector S7 propertypos_double_vector
Positive integer scalar S7 propertypos_integer_scalar
Print data frameprintdf
Pretty print listprintls
Probability scalar S7 propertyprob_scalar
Probability vector S7 propertyprob_vector
String representationrepr
Show list as formatted stringrepr_ls
rtemis Colorsrtemis_colors
Set the rtemis message sinkset_msg_sink
Strip ANSI escape sequences from a stringstrip_ansi
Success log messagesuccess
Check class of objecttest_inherits
Open-unit-interval scalar S7 propertyunit_open_scalar
Open-unit-interval vector S7 propertyunit_open_vector
Warning log messagewarn
Run code with a temporary message sinkwith_msg_sink