[Bioc-devel] Question about R functions

Nathan Sheffield nsheff at virginia.edu
Thu Mar 30 22:13:27 CEST 2017


HI Jing,

You should export FA FB and FC, but don't export FD. If using roxygen2 
for documentation you use "#' @export" on the ones to export, and just 
don't document FD and it won't be exported by default.

Hope that helps,

-Nathan


On 03/30/2017 04:02 PM, Jing Wang wrote:
> Hi,
>
>   
>
> I have three functions (FA,FB,FC) in the package and all these functions need to call another function (FD). But I do not want other users to use the function FD and thus I do not want to create the document for FD in the R package.
>
>   
>
> Could you please give me some suggestion how to do that?
>
>   
>
> Thanks,
>
>   
>
>   
>
>   
>
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel



More information about the Bioc-devel mailing list