pkgdown/mathjax-config.html

Skip to contents

Validates that a specific column in a data.frame is character. Produces path-aware error messages.

Usage

require_col_character(restriction, col, no_na = FALSE)

Arguments

restriction

a restriction object.

col

character(1) column name.

no_na

logical; if TRUE, rejects NA values in the column.

Value

The modified restriction object.