Re: [R-pkg-devel] Run Examples Not Found

2025-05-08 Thread Ivan Krylov via R-package-devel
В Wed, 7 May 2025 20:10:50 + (UTC) Mat Fok via R-package-devel пишет: > 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/quest

Re: [R-pkg-devel] Run Examples Not Found

2025-05-07 Thread Michael Chirico
Hi Mat, glancing at what I believe to be your package sources [1] You have non-R exposition in your \examples{...}. Examples are code -- you should be able to run them like any other code. Moreover, they should be self-contained -- expecting the user to create 'oildata' themselves won't work. Wh

[R-pkg-devel] Run Examples Not Found

2025-05-07 Thread Mat Fok via R-package-devel
Hi, My example sources data from olr/inst/extdata and I point to it in my example. I do not include the `dontrun{}` function around this @examples as I want to be able to click "Run Examples" in my Help documentation but I get the error /Example/olr not found. I was thinking maybe I should have