Package: schemate 0.1.1

schemate: Schema Inference, Editing, and Validation with 'checkmate'

Provides a compact schema domain-specific language for inferring, editing, and validating R data structures with 'checkmate' checks. Schemas can be serialized to and restored from JSON for storage and review. A generated standalone bundle supports vendoring the schema tools into other R packages.

Authors:Hongyuan Jia [aut, cre, cph]

schemate_0.1.1.tar.gz
schemate_0.1.1.zip(r-4.7)schemate_0.1.1.zip(r-4.6)schemate_0.1.1.zip(r-4.5)
schemate_0.1.1.tgz(r-4.6-any)schemate_0.1.1.tgz(r-4.5-any)
schemate_0.1.1.tar.gz(r-4.7-any)schemate_0.1.1.tar.gz(r-4.6-any)
schemate_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
schemate/json (API)
NEWS

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

Bug tracker:https://github.com/hongyuanjia/schemate/issues

Pkgdown/docs site:https://hongyuanjia.github.io

On CRAN:

Conda:

1.70 score 5 scripts 34 exports 3 dependencies

Last updated from:dcc9d699f8. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK120
source / vignettesOK155
linux-release-x86_64OK116
macos-release-arm64OK101
macos-oldrel-arm64OK85
windows-develOK171
windows-releaseOK79
windows-oldrelOK74
wasm-releaseOK93

Exports:schema_add_defschema_add_fieldschema_add_groupschema_add_positionschema_allschema_anyschema_checkschema_compactschema_del_defschema_del_fieldschema_del_groupschema_del_keysschema_del_positionschema_del_restschema_docschema_findschema_flattenschema_groupschema_inferschema_modify_whereschema_notschema_oneschema_pathsschema_readschema_refschema_replaceschema_replace_whereschema_set_descschema_set_keysschema_set_restschema_validateschema_where_checkschema_where_pathschema_write

Dependencies:backportscheckmateS7

Readme and manuals

Help Manual

Help pageTopics
Add a schema definitionschema_add_def
Add a field schema to a container nodeschema_add_field
Add a schema group to a container nodeschema_add_group
Add a position schema to an unnamed container nodeschema_add_position
Create an 'all' schema combinator fragmentschema_all
Create an 'any' schema combinator fragmentschema_any
Create a schema check fragmentschema_check
Compact a schema documentschema_compact
Delete a schema definitionschema_del_def
Delete a field schema from a container nodeschema_del_field
Delete a schema group from a container nodeschema_del_group
Delete a schema node keys ruleschema_del_keys
Delete a position schema from an unnamed container nodeschema_del_position
Delete a container rest schemaschema_del_rest
Parse schema documentsschema_doc
Flatten a schema for repeated validationschema_flatten
Create a schema group fragmentschema_group
Infer a conservative schema from example dataschema_infer
Modify schema nodes selected by a predicateschema_modify_where schema_replace_where
Create a 'not' schema combinator fragmentschema_not
Create a 'one' schema combinator fragmentschema_one
Query schema paths and matching nodesschema_find schema_paths
Create a schema reference fragmentschema_ref
Replace a schema nodeschema_replace
Set or remove a schema node descriptionschema_set_desc
Set a schema node keys ruleschema_set_keys
Set or replace a container rest schemaschema_set_rest
Validate input against a schemaschema_validate
Create schema query predicatesschema_where_check schema_where_path
Read and write schema JSONschema_read schema_write