Skip to content

RMI-PACTA/pacta.data.validation

Repository files navigation

pacta.data.validation

Lifecycle: experimental R-CMD-check codecov CRAN status pacta.data.validation status badge

The pacta.data.validation R package provides a number of utility functions to facilitate validation of data objects used in the PACTA ecosystem of R packages.

Installation

You can install the most recent version of pacta.data.validation from R-universe with:

install.packages("pacta.data.validation", repos = "https://rmi-pacta.r-universe.dev")

You can install the development version of pacta.data.validation from GitHub with:

# install.packages("devtools")
devtools::install_github("RMI-PACTA/pacta.data.validation")

Usage

To validate a data object, pass it to the appropriate validation function. For example...

library("pacta.data.validation")

masterdata_debt_datastore <- fake_masterdata_debt_datastore(id = "x")
validate_masterdata_debt_datastore(masterdata_debt_datastore)