R/mergeDocumentation.R

Defines functions mergeDocumentation

mergeDocumentation <- function(x) {
  if (!anyDuplicated(names(x))) {
    return(x)
  }
  out <- list()
  for (i in unique(names(x))) {
    out[[i]] <- unlist(x[names(x) == i], use.names = FALSE)
  }
  return(out)
}

Try the goxygen package in your browser

Any scripts or data that you put into this service are public.

goxygen documentation built on April 4, 2025, 6:13 a.m.