dot-caugi_fit_on_line: Fit items on a line

.caugi_fit_on_lineR Documentation

Fit items on a line

Description

Helper function to determine how many items can fit on a line of given width, considering an indent.

Usage

.caugi_fit_on_line(items, width, indent)

Arguments

items

A character vector of item labels.

width

An integer specifying the total line width.

indent

An integer specifying the indent width.

Value

An integer indicating how many items fit on the line.


caugi documentation built on Oct. 28, 2026, 1:07 a.m.