checki: Check the items

View source: R/checki.R

checkiR Documentation

Check the items

Description

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

Usage

checki(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")
  )
  checki(delta)
})


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