Yihui Xie
2010-Nov-27 05:47 UTC
[R] How to stop roxygen from creating Rd for functions that are not exported?
Hi all, It seems roxygen will create Rd files for any functions under the ./R/ directory, and I did not find a way to hide certain functions, even if I specified a name space. E.g. #' @export f = function() {} #' do nothing g = function() {} If I run roxygenize() on the package, both f and g will be documented, although only f is visible to the users. Thanks! Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA