R/check_constant.R

Defines functions check_constant

check_constant <- function(const) {
  if (is.null(const)) {
    stop("constant must not be NULL")
  }
}

Try the cmsafops package in your browser

Any scripts or data that you put into this service are public.

cmsafops documentation built on Sept. 18, 2023, 5:16 p.m.