checkc: Check the characters

View source: R/checkc.R

checkcR Documentation

Check the characters

Description

This function creates a directives file for the CONFOR program to check the characters in a DELTA dataset.

Usage

checkc(delta, remove_temp = TRUE)

Arguments

delta

A Delta dataset object (created by load_delta)

remove_temp

Logical; if TRUE, remove temporary files after conversion (default = TRUE)

Details

The function assumes that the CONFOR program executable is available in the system PATH or in the current working directory.

Value

Integer: 0 if check is successful, 1 if check fails

Examples

# Requires the CONFOR executable on the PATH.

try({
  delta <- load_delta(
    system.file("extdata", "chars_viola", package = "RDelta"),
    system.file("extdata", "items_viola", package = "RDelta"),
    system.file("extdata", "specs_viola", package = "RDelta")
  )
  checkc(delta)
})


RDelta documentation built on Oct. 28, 2026, 5:12 p.m.