我的软件包的sysdata.rda
文件中有两个对象(page.height
和page.width
)。我用这样的roxygen2
记录了它们
#'@name page.height
#'@aliases page.width
#'@title Standard dimensions
#'itemize{
#' item{page.height}{Maximal height of a figuur (in inch)}
#' item{page.width}{Width of a figure covering two columns (in inch)}
#'}
#'@docType data
#'@export
#'@usage page.height
#'@keywords datasets
NULL
导出page.height
对象,但不导出page.width
对象。我应该如何记录这一点,以便将两者导出并记录在同一个帮助文件中?
我在 Roxygen2 文档中找到了它: 明确命名要导出的对象
#'@export page.height page.width