我使用rowxygen2(版本7.1.1),无法获得我的函数返回列表值来正确解析。输入:
#' @return A list with the following fields:
#' describe{
#' item{ID}{The speaker / speaker + session identifier of the output}
#' item{CPPS}{Smoothed Cepstral Peak Prominence value}
#' item{HNR}{An Harmonic-to-noise estimate}
#' item{Shim_local}{A (local) Shimmer measurement (in %)}
#' item{Shim_local_DB}{A (local) Shimmer measurement, in decibels}
#' item{LTAS_Slope}{The slope of the Long Time Average Spectrum (in dB)}
#' item{LTAS_Tilt}{The Long Time Average Spectrum tilt (in dB)}
#' item{AVQI}{Acoustic Voice Quality Index summarizing the measures above}
#' }
给出警告"@返回不匹配的大括号或引号"当它通过roxygen2运行时,我在"值"中什么也没有得到。
有什么办法解决这个问题吗?
这是因为"%":
#' item{Shim_local}{A (local) Shimmer measurement (in %)}
用 代替
#' item{Shim_local}{A (local) Shimmer measurement (in %)}
否则,"%"被丢弃。