Exporting non-S3-methods with dots in the name using roxygen2 v4

蹲街弑〆低调 提交于 2019-11-27 13:38:46

As Mr Flick commented, appending the full function name to the roxygen line works correctly. If I change the line to:

#' @export check.arg

then the NAMESPACE file contains:

export(check.arg)
Dirk

Use @method generic class and @export instead of @S3method. Take a look at this thread: S3 method help (roxygen2)

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!