Re: [R-pkg-devel] R CMD check not finding my vignettes

2017-04-20 Thread David Hugh-Jones
Hi guys, Thanks very much for all of your comments. I now have a good sense of what the possibilities are, and I will think about what works best for my package. Cheers, David On 20 April 2017 at 14:42, Duncan Murdoch wrote: > On 20/04/2017 4:57 AM, Brian G.

Re: [R-pkg-devel] R CMD check not finding my vignettes

2017-04-20 Thread Brian G. Peterson
David, I'd suggest creating a vignette for each of HTML and PDF, and including a source file that contains the common code. e.g. have a pdf header and an html header file, and then include the 'main' Rmd as a child doc from each header Rmd. This way R CMD build could build both pdf and html

Re: [R-pkg-devel] R CMD check not finding my vignettes

2017-04-20 Thread David Hugh-Jones
Hi Duncan, Thank you very much for taking the time to look at this. I tried rebuilding the tar file so as to include only the .Rmd files, not the HTML files, in 'vignettes': drwxr-xr-x 0 david staff 0 20 Apr 09:21 huxtable/vignettes/ -rw-r--r-- 0 david staff1633 6 Apr 16:26

Re: [R-pkg-devel] R CMD check not finding my vignettes

2017-04-19 Thread Duncan Murdoch
On 19/04/2017 1:00 PM, David Hugh-Jones wrote: Hi Uwe, I'm not sure if you ever got my off-list message with my tarball or subsequent messages. I can't send a tarball on-list - it gets rejected as too large - but here is a dropbox link. If you could confirm receipt, that would be extremely

Re: [R-pkg-devel] R CMD check not finding my vignettes

2017-04-19 Thread David Hugh-Jones
Hi Uwe, I'm not sure if you ever got my off-list message with my tarball or subsequent messages. I can't send a tarball on-list - it gets rejected as too large - but here is a dropbox link. If you could confirm receipt, that would be extremely helpful!

Re: [R-pkg-devel] R CMD check not finding my vignettes

2017-04-10 Thread David Hugh-Jones
7, 2017 12:20 > To: David Hugh-Jones > Cc: r-package-devel@r-project.org > Subject: Re: [R-pkg-devel] R CMD check not finding my vignettes > > Can you send the tarball please, I can take a look, > Uwe > > > On 07.04.2017 12:09, David Hugh-Jones wrote: > > Hi Uwe

Re: [R-pkg-devel] R CMD check not finding my vignettes

2017-04-10 Thread Berry Boessenkool
7 12:20 To: David Hugh-Jones Cc: r-package-devel@r-project.org Subject: Re: [R-pkg-devel] R CMD check not finding my vignettes Can you send the tarball please, I can take a look, Uwe On 07.04.2017 12:09, David Hugh-Jones wrote: > Hi Uwe, > > Indeed yes, but my built tarball has got

Re: [R-pkg-devel] R CMD check not finding my vignettes

2017-04-07 Thread Uwe Ligges
Can you send the tarball please, I can take a look, Uwe On 07.04.2017 12:09, David Hugh-Jones wrote: Hi Uwe, Indeed yes, but my built tarball has got the files in inst/doc as shown. If I then run 'R CMD check' on that tarball, I get the error quoted. Is there something happening that I don't

Re: [R-pkg-devel] R CMD check not finding my vignettes

2017-04-07 Thread David Hugh-Jones
Hi Uwe, Indeed yes, but my built tarball has got the files in inst/doc as shown. If I then run 'R CMD check' on that tarball, I get the error quoted. Is there something happening that I don't understand? Incidentally, the tarball also has files in the vignettes directory: (a) the original .Rmd

Re: [R-pkg-devel] R CMD check not finding my vignettes

2017-04-07 Thread Uwe Ligges
I do not know devtools, but the vignette sources should be placed in ./vignettes and then R CMD build will put the files into the relevant places automatically. Best, Uwe Ligges On 07.04.2017 07:55, David Hugh-Jones wrote: Okay, so this got tumbleweeded... so should I file a bug? D On

Re: [R-pkg-devel] R CMD check not finding my vignettes

2017-04-06 Thread David Hugh-Jones
Okay, so this got tumbleweeded... so should I file a bug? D On Thu, 6 Apr 2017 at 15:37, David Hugh-Jones wrote: > > Before building my package, I manually place both pdf and html versions of > my vignettes into inst/doc. I then build the package with

[R-pkg-devel] R CMD check not finding my vignettes

2017-04-06 Thread David Hugh-Jones
Before building my package, I manually place both pdf and html versions of my vignettes into inst/doc. I then build the package with `devtools::check`. Listing of the resulting tarball: -rw-r--r-- 0 david staff1692 6 Apr 15:10 huxtable/inst/doc/design-principles.R -rw-r--r-- 0 david