collapse_names: Collapse names

View source: R/print_name.R

collapse_namesR Documentation

Collapse names

Description

Collapse name strings for document contents. It will be used internally when formatting several names and including them in a text body.

Usage

collapse_names(x, collapse)

Arguments

x

A character vector containing a chain of names.

collapse

A character value or vector used to collapse the names and passed to paste0. If its lenght is 2, the second value will be used to connect the two last names.


ropensci/taxlist documentation built on Sept. 17, 2024, 3:39 p.m.