From 3249007ace651cf85691fd1638a51a113046f308 Mon Sep 17 00:00:00 2001 From: Bill Denney Date: Wed, 22 Dec 2021 11:43:12 -0500 Subject: [PATCH] Fix documentation issue --- R/make_param_label.R | 4 +--- man/make_param_label.Rd | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/R/make_param_label.R b/R/make_param_label.R index 57f754e..c3dc6e3 100644 --- a/R/make_param_label.R +++ b/R/make_param_label.R @@ -7,9 +7,7 @@ #' be a vector)? #' @param allow_missing_spec,allow_missing_unit Are the \code{spec} or #' \code{unit} parameters allowed to be NA? -#' @return A character vector that is equivalent to \code{sprintf("%s %s (%s)", -#' spec, param, unit)}, but accounting for the fact that spec and unit may be -#' missing. +#' @return A character vector. #' @export make_param_label <- function(spec, param, unit, expect_single=TRUE, allow_missing_spec=TRUE, allow_missing_unit=TRUE) { diff --git a/man/make_param_label.Rd b/man/make_param_label.Rd index c6916bd..c8e1ac2 100644 --- a/man/make_param_label.Rd +++ b/man/make_param_label.Rd @@ -27,9 +27,7 @@ be a vector)?} \code{unit} parameters allowed to be NA?} } \value{ -A character vector that is equivalent to \code{sprintf("%s %s (%s)", - spec, param, unit)}, but accounting for the fact that spec and unit may be - missing. +A character vector. } \description{ Generate a parameter label combining specimen type, parameter name, and units