Package: dataclass 1.0.0

dataclass: Easily Create Structured Lists or Data Frames with Input Validation

Easily define templates for lists and data frames that validate each element. Specify the expected type (i.e., character, numeric, etc), expected length, minimum and maximum values, allowable values, and more for each element in your data. Decide whether violations of these expectations should throw an error or a warning. This package is useful for validating data within R processes which pull from dynamic data sources such as databases and web APIs to provide an extra layer of validation around input and output data.

Authors:Chris Walker [aut, cre, cph]

dataclass_1.0.0.tar.gz
dataclass_1.0.0.zip(r-4.5)dataclass_1.0.0.zip(r-4.4)dataclass_1.0.0.zip(r-4.3)
dataclass_1.0.0.tgz(r-4.4-any)dataclass_1.0.0.tgz(r-4.3-any)
dataclass_1.0.0.tar.gz(r-4.5-noble)dataclass_1.0.0.tar.gz(r-4.4-noble)
dataclass_1.0.0.tgz(r-4.4-emscripten)dataclass_1.0.0.tgz(r-4.3-emscripten)
dataclass.pdf |dataclass.html
dataclass/json (API)

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

Peer review:

Bug tracker:https://github.com/walkerjameschris/dataclass/issues

On CRAN:

dataclassesvalidation

3.60 score 8 stars 1 scripts 287 downloads 10 exports 17 dependencies

Last updated 2 months agofrom:1c399799fb. Checks:OK: 7. Indexed: yes.

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

Exports:any_objatm_vecchr_vecdata_validatordataclassdf_likedte_vecenforce_typeslgl_vecnum_vec

Dependencies:clidplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6rlangtibbletidyselectutf8vctrswithr