[R-pkg-devel] Run Examples Not Found

Ivan Krylov |kry|ov @end|ng |rom d|@root@org
Thu May 8 16:49:35 CEST 2025


В Wed, 7 May 2025 20:10:50 +0000 (UTC)
Mat Fok via R-package-devel <r-package-devel using r-project.org> пишет:

> I want to be able to click "Run Examples" in my Help documentation
> but I get the error /Example/olr not found. 

> I have searched online for this but the most relevant thing I have
> found was
> stackoverflow.com/questions/76365640/r-roxygen-examples-example-foo-bar-not-found,
> but no one answered and it is over a year old.

Are you using load_all()? According to the documentation (see
?pkgload::load_all), example() is not one of the functions emulated by
load_all(). Without emulation, it needs an installed package with a
table of help pages and their aliases.

Does it also not work if you use R CMD build and R CMD INSTALL?

-- 
Best regards,
Ivan



More information about the R-package-devel mailing list