check_input_list: Check input for agreement with provided lists

View source: R/compatibility_checks.R

check_input_listR Documentation

Check input for agreement with provided lists

Description

It checks that filepaths are valid, but does not check whether the file contents are as required. I assume BayesACT does this?

Usage

check_input_list(
  input,
  allowlist,
  allowlength,
  allowsingle,
  allowfile = FALSE,
  checkindex = NA
)

Arguments

input

vector

allowlist

vector

allowlength

numeric

allowsingle

logical

allowfile

logical

checkindex

numeric, the index to verify if the list length is greater than one. Default is NA meaning all indices are verified.

Value

boolean true if successful check


ahcombs/bayesactR documentation built on Jan. 15, 2025, 6:49 p.m.