Re: [Rd] vignettes present in 2 folders or won't work

2020-11-02 Thread Georgi Boshnakov
is that it wipes out inst/doc (but it does ask for confirmation). Georgi Boshnakov -- Message: 12 Date: Mon, 2 Nov 2020 05:22:02 -0500 From: Duncan Murdoch To: Mark van der Loo Cc: Dirk Eddelbuettel , r-devel Subject: Re: [Rd] vignettes present in 2 f

Re: [Rd] vignettes present in 2 folders or won't work

2020-11-02 Thread Duncan Murdoch
On 02/11/2020 4:07 a.m., Mark van der Loo wrote: On Sun, Nov 1, 2020 at 10:39 PM Duncan Murdoch > wrote: On 01/11/2020 2:57 p.m., Dirk Eddelbuettel wrote: > > The closest to a canonical reference for a static vignette is the basic blog >

Re: [Rd] vignettes present in 2 folders or won't work

2020-11-02 Thread Mark van der Loo
On Sun, Nov 1, 2020 at 10:39 PM Duncan Murdoch wrote: > On 01/11/2020 2:57 p.m., Dirk Eddelbuettel wrote: > > > > The closest to a canonical reference for a static vignette is the basic > blog > > post by Mark at > > > > > https://www.markvanderloo.eu/yaRb/2019/01/11/add-a-static-pdf-vignette-to-

Re: [Rd] vignettes present in 2 folders or won't work

2020-11-01 Thread Duncan Murdoch
On 01/11/2020 2:57 p.m., Dirk Eddelbuettel wrote: The closest to a canonical reference for a static vignette is the basic blog post by Mark at https://www.markvanderloo.eu/yaRb/2019/01/11/add-a-static-pdf-vignette-to-an-r-package/ which I follow in a number of packages. Back to the origina

Re: [Rd] vignettes present in 2 folders or won't work

2020-11-01 Thread Spencer Graves
CRAN policies say, "neither data nor documentation should exceed 5MB (which covers several books). A CRAN package is not an appropriate way to distribute course notes, and authors will be asked to trim their documentation to a maximum of 5MB."[1] I post R Markdown vignettes as companion

Re: [Rd] vignettes present in 2 folders or won't work

2020-11-01 Thread Dirk Eddelbuettel
The closest to a canonical reference for a static vignette is the basic blog post by Mark at https://www.markvanderloo.eu/yaRb/2019/01/11/add-a-static-pdf-vignette-to-an-r-package/ which I follow in a number of packages. Back to the original point by Alexandre: No, I do _not_ think we can do

Re: [Rd] vignettes present in 2 folders or won't work

2020-11-01 Thread Ben Bolker
I take Duncan's point but would second the motion to have WRE clarify how static vignettes are supposed to work; it's a topic I am repeatedly confused about despite being an experienced package maintainer. If knowledgeable outsiders compiled a documentation patch would it be likely to be cons

Re: [Rd] vignettes present in 2 folders or won't work

2020-11-01 Thread Duncan Murdoch
On 01/11/2020 1:02 p.m., Alexandre Courtiol wrote: Noted Duncan and TRUE... I cannot do more immediately unfortunately, that is always the issue of asking a last minute panic attack question before teaching a course involving the package... I do have /doc in my .Rbuildignore for reasons I can

Re: [Rd] vignettes present in 2 folders or won't work

2020-11-01 Thread Alexandre Courtiol
Noted Duncan and TRUE... I cannot do more immediately unfortunately, that is always the issue of asking a last minute panic attack question before teaching a course involving the package... I do have /doc in my .Rbuildignore for reasons I can no longer remember... I will dig and create a MRE/repre

Re: [Rd] vignettes present in 2 folders or won't work

2020-11-01 Thread Duncan Murdoch
You are doing a lot of things that are non-standard, so I doubt if anyone is going to be able to help you without access to a simple reproducible example of a package that does what you do. Try to cut out as much as you can to make it minimal. For example, devtools::document() (indeed, most o

[Rd] vignettes present in 2 folders or won't work

2020-11-01 Thread Alexandre Courtiol
Dear all, I am struggling with an issue related to static vignettes: they work, but only when present in double in the tarball -- in the folder inst/doc and vignettes; see below for details. Details: I am pre-compiling heavy vignettes thanks to the vignette builder R.rsp. So basically, I have PD