This should be posted on the r-package-devel list rather than here:
https://stat.ethz.ch/mailman/listinfo/r-package-devel
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Wed, Aug 8, 2018 at 12:08 AM, Johanna Schwarz <johanna-schwarz at
gmx.de>
wrote:
> 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
> options.
>
> 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
> tests?
>
>
>
> Thank you in advance for your help,
>
> schwart
>
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/
> posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
[[alternative HTML version deleted]]