bdchecks (version 0.1.7)

exportDC: Export data checks as R objects

Description

`exportDC()` is a function for exporting data checks from YAML file to rda and/or roxygen2 file.

Usage

exportDC(pathYAML = "./inst/extdata/dataChecks.yaml", exportRDA = TRUE,
  exportROX = TRUE, pathRDA = "./data/", pathROX = "./R/",
  idRDA = "DC_", idROX = "DC_")

Arguments

pathYAML

Path to a YAML file.

exportRDA

Should function export data check to a .rda file.

exportROX

Should function create a documentation in .R for roxygen2.

pathRDA

Path for .rda file.

pathROX

Path for .R (roxygen2) file.

idRDA

ID in the beginning of file for .rda file

idROX

ID in the beginning of file for .R file (helps to differentiate other functions from data checks).