manage_authors: manage_authors

View source: R/manage_authors.R

manage_authorsR Documentation

manage_authors

Description

Returns a cleaned and cropped string of authors for the visual citation.

Usage

manage_authors(authors, max_authors, style = "any")

Arguments

authors

Can be a single string or a list of authors.

max_authors

Maximum number of authors to be returned from the list.

style

Takes the user specified style. Only relevant for "compact" mode. Ignored otherwise.

Value

A single string with the desired maximum number of authors.


nucleic-acid/namedropR documentation built on Jan. 7, 2023, 10:09 p.m.