The "missing" files or their directory are not by accident listed in Rbuildignore, right?
________________________________ From: R-package-devel <r-package-devel-boun...@r-project.org> on behalf of Uwe Ligges <lig...@statistik.tu-dortmund.de> Sent: Friday, April 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, > > 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 files and (b) HTML files. My original directory has > all of Rmd, HTML and PDF files in the vignettes directory, but for some > reason the PDFs don't get included when the tarball is built. > > Cheers, > David > > David > > On 7 April 2017 at 07:15, Uwe Ligges <lig...@statistik.tu-dortmund.de > <mailto:lig...@statistik.tu-dortmund.de>> wrote: > > 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 Thu, 6 Apr 2017 at 15:37, David Hugh-Jones > <davidhughjo...@gmail.com <mailto:davidhughjo...@gmail.com>> > 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 > `devtools::check`. > > Listing of the resulting tarball: > > -rw-r--r-- 0 david staff 1692 6 Apr 15:10 > huxtable/inst/doc/design-principles.R > > -rw-r--r-- 0 david staff 6697 6 Apr 15:10 > huxtable/inst/doc/design-principles.Rmd > > -rw-r--r-- 0 david staff 899765 6 Apr 15:10 > huxtable/inst/doc/design-principles.html > > -rw-r--r-- 0 david staff 213776 6 Apr 15:10 > huxtable/inst/doc/design-principles.pdf > > -rw-r--r-- 0 david staff 3009 6 Apr 15:10 > huxtable/inst/doc/huxreg.R > > -rw-r--r-- 0 david staff 5521 6 Apr 15:10 > huxtable/inst/doc/huxreg.Rmd > > -rw-r--r-- 0 david staff 940955 6 Apr 15:10 > huxtable/inst/doc/huxreg.html > > -rw-r--r-- 0 david staff 237771 6 Apr 15:10 > huxtable/inst/doc/huxreg.pdf > > -rw-r--r-- 0 david staff 10473 6 Apr 15:11 > huxtable/inst/doc/huxtable.R > > -rw-r--r-- 0 david staff 20552 6 Apr 15:11 > huxtable/inst/doc/huxtable.Rmd > > -rw-r--r-- 0 david staff 925373 6 Apr 15:11 > huxtable/inst/doc/huxtable.html > > -rw-r--r-- 0 david staff 284978 6 Apr 15:11 > huxtable/inst/doc/huxtable.pdf > > However, R CMD check then complains: > > * checking package vignettes in �inst/doc� ... WARNING > Package vignettes without corresponding PDF/HTML: > �design-principles.Rmd� > �huxreg.Rmd� > �huxtable.Rmd� > > What gives? > > Cheers, > David > > ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel [[alternative HTML version deleted]]
______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel