Package: R8 0.1.0

E.D. Gennatas

R8: Structs, Enums, and Traits with a 'Rust' Runtime

A developer-facing type system for R whose runtime is the 'rtemis-r8' 'Rust' crate, shared with other host languages. Types are structs, enums, and traits, declared in R or in 'Rust'; values are immutable and validated once per value. This version reports the version of the compiled 'rtemis-r8' crate; declarations, validation, and JSON encoding are under development.

Authors:E.D. Gennatas [aut, cre, cph], Authors of the bundled Rust crates [ctb, cph]

R8_0.1.0.tar.gz
R8_0.1.0.zip(r-4.7-x86_64)R8_0.1.0.zip(r-4.7-arm64)R8_0.1.0.zip(r-4.6-x86_64)R8_0.1.0.zip(r-4.6-arm64)R8_0.1.0.zip(r-4.5-x86_64)
R8_0.1.0.tgz(r-4.6-x86_64)R8_0.1.0.tgz(r-4.6-arm64)R8_0.1.0.tgz(r-4.5-x86_64)R8_0.1.0.tgz(r-4.5-arm64)
R8_0.1.0.tar.gz(r-4.7-arm64)R8_0.1.0.tar.gz(r-4.7-x86_64)R8_0.1.0.tar.gz(r-4.6-arm64)R8_0.1.0.tar.gz(r-4.6-x86_64)
R8_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
R8/json (API)

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

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

On CRAN:

Conda:

class-systemrustcargo

1.70 score 1 stars 45 exports 0 dependencies

Last updated from:2654612b42. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK154
linux-devel-x86_64OK165
source / vignettesOK273
linux-release-arm64OK157
linux-release-x86_64OK166
macos-release-arm64OK193
macos-release-x86_64OK516
macos-oldrel-arm64OK176
macos-oldrel-x86_64OK417
windows-devel-arm64OK328
windows-devel-x86_64OK215
windows-release-arm64OK343
windows-release-x86_64OK239
windows-oldrel-x86_64OK233
wasm-releaseOK212

Exports:DebugDimDisplayfieldFromhashmapimplis_variantnew_enumnew_structnew_traitoptionordered_mapPartialOrdr8_cmpr8_conformr8_convertr8_converterr8_core_versionr8_declarationr8_equalr8_from_jsonr8_hashr8_registerr8_resolver8_validateruleto_jsontrait_methodtype_arraytype_charactertype_datetype_doubletype_factortype_integertype_jsontype_logicaltype_matrixtype_posixcttype_rtype_rawtype_sparse_matrixtype_tablevariantvec

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Declare a fieldfield
Map field typehashmap
Implement a trait for a typeimpl
Test an enum value's variantis_variant
Declare an enum@.r8_enum_type new_enum
Declare a struct@.r8_struct_type new_struct
Declare a trait@.r8_trait new_trait
Comparison of R8 valuesOps.r8_value
Optional field typeoption
Ordered map field typeordered_map
Print a field typeprint.r8_field_type
Print a trait objectprint.r8_trait
Print a type objectprint.r8_type
Print an R8 valueprint.r8_value
Conform an R object to a typer8_conform
Convert a value to an R8 typer8_convert
A conversion function for an R8 typer8_converter
Version of the rtemis-r8 crater8_core_version
Declaration of a typer8_declaration
Equality of two R8 valuesr8_equal
Read an R8 value from JSONr8_from_json
Content hash of an R8 valuer8_hash
Register a package's R8 declarationsr8_register
Resolve a value's pending fieldsr8_resolve
Validate an R8 valuer8_validate
Fields of an R8 value$.r8_value $<-.r8_value @.r8_value r8_value_fields [[.r8_value [[<-.r8_value
Guards on R8 valuesdim<-.r8_value length<-.r8_value levels<-.r8_value names<-.r8_value r8_value_guards [<-.r8_value
Text of R8 valuesformat.r8_value r8_value_text str.r8_value
Declare a rulerule
Standard traitsDebug Dim Display From PartialOrd r8_cmp standard_traits
Write an R8 value as JSONto_json
Declare a trait methodtrait_method
Array field typetype_array
Character field typetype_character
Date field typetype_date
Double field typetype_double
Factor field typetype_factor
Integer field typetype_integer
JSON field typetype_json
Logical field typetype_logical
Matrix field typetype_matrix
Date-time field typetype_posixct
Runtime-only R field typetype_r
Raw field typetype_raw
Sparse matrix field typetype_sparse_matrix
Table field typetype_table
Declare an enum variantvariant
Vector field typevec