% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fix_contributor.R
\name{fix_contributor}
\alias{fix_contributor}
\title{Format contributors into a citation string}
\usage{
fix_contributor(contributors = NULL)
}
\arguments{
\item{contributors}{A vector or list of \code{person} objects, or \code{NULL}, or the
character string \code{":unas"}.}
}
\value{
A single character string, e.g. \code{"{Jane Doe [dtm, ctb]} and {John Smith [ctb]}"}.
}
\description{
Format a list of \code{utils::person} objects into a compact string, merging roles
per person and normalizing names. Contributors without explicit roles are
assigned \code{"ctb"}. If \code{NULL} or \code{":unas"} is supplied, returns \code{":unas"}.
}
\keyword{internal}
