В Wed, 7 May 2025 20:10:50 +0000 (UTC)
Mat Fok via R-package-devel <r-package-devel@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

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to