R/check_iids.R

Defines functions check_iids

Documented in check_iids

#' Check if one or more within-family IDs are valid
#'
#' Check if one or more within-family IDs are valid
#' Will \link{stop} if not.
#' @inheritParams default_params_doc
#' @return nothing
#' @author Richèl J.C. Bilderbeek
#' @examples
#' check_iids("1")
#' check_iids("Doe")
#' @export
check_iids <- function(iids) {
  testthat::expect_false(all(is.null(iids)))
  Vectorize(plinkr::check_iid)(iids)
}
richelbilderbeek/plinkr documentation built on March 25, 2024, 3:18 p.m.