stop_if_not_in_slide_range: Ensure valid slide indexes

View source: R/utils.R

stop_if_not_in_slide_rangeR Documentation

Ensure valid slide indexes

Description

Ensure valid slide indexes

Usage

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).


officer documentation built on April 3, 2025, 10:27 p.m.