alittleboy alittleboy - 1 year ago 71
R Question

do not show function help document in building R package by roxygen2

I am using

to build R package, and there are some functions that are NOT designed to be visible to end-users. However, since these functions involve calling C codes by
, so that I have to write
above the function for automatic generation of .Rd files. In that way, when I build the package, even I did NOT include the
for those functions, they nonetheless appear in the help document... Is there a way to suppress those functions even if they have been documented? Thanks!

Answer Source

According to Hadley's comments, use @keywords internal will make the function invisible to end-users. Details can be found here in the wiki pages of devtools.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download