lumpItems: lumpItems

View source: R/lumpItems.R

lumpItemsR Documentation

lumpItems

Description

Helper function to concatenate multiple list items into a single list item

Usage

lumpItems(items, item.labs, list.obj, new.name)

Arguments

items

a vector of names from the list that you want to concatenate

item.labs

the labels you want to have boldly concatenated in the text. For example, give "Name(s):" and it will be bolded *Name(s): * and prepended to Item 1 text; supplying "" will not prepend any label to that item

list.obj

is the list object you want to work with

new.name

is the replacement name for combined text

Details

Specifically designed for lumping separate markdown/YAML entries (which are separated for end user continuity) into a single list item for the JSON output for the web; output is the supplied list.obj, with items removed and lumped with new.name

Value

The condensed list


galacticpolymath/GPpub documentation built on April 5, 2025, 6:04 p.m.