R没有为包中的特定函数编写描述文件
在R-CMD检查期间,我遇到了一个问题,即R没有写入一个特定函数的描述,它在.Rd文件中保持为空(R没有为包中的特定函数编写描述文件,r,package,warnings,R,Package,Warnings,在R-CMD检查期间,我遇到了一个问题,即R没有写入一个特定函数的描述,它在.Rd文件中保持为空(\description{})。但它是写在.R文件中的 #' Estimate XYZ #' #' This function \code{XYZ} bla bla bla #' Function is #' \deqn{} #' @details 在检查过程中,会产生结果 checking R code for possible problems ... OK * checking Rd f
\description{}
)。但它是写在.R文件中的
#' Estimate XYZ
#'
#' This function \code{XYZ} bla bla bla
#' Function is
#' \deqn{}
#' @details
在检查过程中,
会产生结果
checking R code for possible problems ... OK
* checking Rd files ... WARNING
prepare_Rd: XYZ.Rd:22-24: Dropping empty section \description
checkRd: (5) XYZ.Rd:0-80: Must have a \description
类似地,在.rd文件中
\description{
}
我如何解决这个问题?请在这件事上帮助我。
谢谢