check_ctx: Check for the presence of inputs.

View source: R/input_utils.R

check_ctxR Documentation

Check for the presence of inputs.

Description

This function checks whether the specified list of inputs has been populated.

Usage

check_ctx(ctx, what, min_n = 1)

Arguments

ctx

Tercen context.

what

Which factor should be checked? Any of x, .x, y, .y, row, rows, column, columns, colors, labels

Examples

ctx <- tercen::tercenCtx()
check_ctx(ctx, c("colors"))

tercen/tim documentation built on May 3, 2023, 10:43 p.m.