[Rd] hook for configuring checking of \example{} sections of the documentation during R CMD check

Sylvain Loiseau sylvain.loiseau at univ-paris13.fr
Sun Jan 22 23:20:56 CET 2012


Dear all,

In a new package, I try to check the examples given in the \example section of the Rd files.

However, the examples cannot be run if the package is not instructed, during startup time, in the place where some data are to be found ( with system.file("exampleData", "xyz", package="rcqp").

Is there any hook available, or a place where some code might be added, so that it is executed before all the examples collected in Rd files are executed?

Best regards,
Sylvain Loiseau

-----
Sylvain Loiseau
sylvain.loiseau at univ-paris13.fr

Université Paris 13-Nord
Laboratoire Lexiques, Dictionnaires, Informatique
(UMR 7187 CNRS/Université Paris 13-Nord)
99 avenue Jean-Baptiste Clément
F-93410 Villetaneuse



More information about the R-devel mailing list