[R-pkg-devel] Can roxygen2 export export() and S3method() to namespace?

Jens Oehlschlägel Jens.Oehlschlaegel at truecluster.com
Fri Sep 22 11:23:13 CEST 2017


Hi,

is there a way to have roxygen2 write both export(<generic>,<class>)
and S3method(<generic>,<class>) to the NAMESPACE file?

I tried

#' @rdname Summaries
#' @export
all.bit <- function(x, range=NULL, ...)

and only get

S3method(all,bit)

but not

export(all.bit)

Thanks for any help


Jens Oehlschlägel


P.S.


roxygen2 version 6.0.1


 > version
                _
platform       x86_64-pc-linux-gnu
arch           x86_64
os             linux-gnu
system         x86_64, linux-gnu
status
major          3
minor          4.1
year           2017
month          06
day            30
svn rev        72865
language       R
version.string R version 3.4.1 (2017-06-30)
nickname       Single Candle



More information about the R-package-devel mailing list