stop_if_not_in_slide_range function

Ensure valid slide indexes

Ensure valid slide indexes

stop_if_not_in_slide_range(x, idx, arg = NULL, call = parent.frame())

Arguments

  • x: An rpptx object.
  • idx: Slide indexes.
  • arg: Name of argument to use in error message (optional).
  • call: Environment to display in error message. Defaults to caller env. Set NULL to suppress (see cli::cli_abort ).