Re: [R-pkg-devel] vignette with "Run Examples"

2023-12-12 Thread Duncan Murdoch
On 12/12/2023 2:24 a.m., Sigbert Klinke wrote: Hi, is it possible to get a button or link to run an example in a vignette like we see for the examples in the R help? Others have explained why this is hard. An alternative might be to run the examples when you produce your vignette, but hide

Re: [R-pkg-devel] vignette with "Run Examples"

2023-12-12 Thread Ivan Krylov
On Tue, 12 Dec 2023 08:24:11 +0100 Sigbert Klinke wrote: > is it possible to get a button or link to run an example in a vignette Technically, yes, but very hard to implement in practice. Vignettes are a form of literate programming, expressed in terms of files: there's a source file

Re: [R-pkg-devel] vignette with "Run Examples"

2023-12-11 Thread Deepayan Sarkar
On Tue, 12 Dec 2023 at 12:54, Sigbert Klinke wrote: > Hi, > > is it possible to get a button or link to run an example in a vignette > like we see for the examples in the R help? > Just to understand your expectations: The 'run examples' option only works within the "dynamic" R help system,