我有关于R6Class的文档:
#' Root component that don't have parent,
#'
#' It should not be used directly, only using \code{\link{pkg::component}} function.
#'
#' @name BaseComponent
#' @importFrom R6 R6Class
#' @docType class
#' @keywords components, architecture, structure
当使用roxygen时出现警告:
警告:[c:\projects\pkg\R\components.R:1] @title 缺少名称
我不知道为什么它显示第一行,我的代码不在第一行。
添加@title并没有改变任何东西,我仍然收到这个警告。
function_name<-function(x)
替换function(x){}
。 - mattador