1

我的包文件中有两个对象 (page.heightpage.width) 。sysdata.rda我已经用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未导出。我应该如何记录这一点,以便将两者都导出并记录在同一个帮助文件中?

4

1 回答 1

5

我在 Roxygen2 文档中找到了它:明确命名要导出的对象

#'@export page.height page.width
于 2014-01-17T10:26:00.333 回答