[R] Submit your own R package - @examples

Johanna Schwarz joh@nn@-@chw@rz @ending from gmx@de
Wed Aug 8 09:08:09 CEST 2018

Dear community, 

I am trying to submit my first R package to CRAN and stumbled upon the
following problem:

Most of my methods, are not exported to the namespace using the @examples

Will I have to provide @examples for these methods in the documentation? If
yes, I have the problem that when I run the @examples for the method that is
not exported, I receive the error 

Error in foo() : could not find function "foo"

Execution halted


What am I missing? Will I even have to provide examples to pass the CRAN


Thank you in advance for your help,



	[[alternative HTML version deleted]]

More information about the R-help mailing list