[Rd] rebuilding vignettes in 2.13-0-alpha fails if name of source dir is not package name

From: Gavin Simpson <gavin.simpson_at_ucl.ac.uk>
Date: Sat, 26 Mar 2011 21:39:37 +0000


Dear list,

I have been checking my package ('analogue') using R2.13-0-alpha (details of exact svn version appended below) and the R CMD check procedure is generating an error rebuilding a vignette in the package, which raises a NOTE in the check.

The log printed to screen during check shows:

....
* checking re-building of vignettes ... NOTE
Error in re-building vignettes:
  ...
Error in pkgVignettes(package = package, dir = dir, lib.loc = lib.loc) :   directory '/home/gavin/work/R/packages/analogue/analogue_check/pkg.Rcheck/vign_test/analogue' does not exist Calls: buildVignettes -> pkgVignettes
Execution halted

The entire log is appended below the sessionInfo() output.

If I look in the directory where I am checking the package, I have pkg.Rcheck and inside the I have vign_test. Inside that directory I have a 'pkg' directory, but no 'analogue' directory.

My source is in a directory 'pkg' after the set-up provided by r-forge.r-project.net.

It looks like the code expects a directory with the same name as the package name in vign_test or the directory in vign_test is not being named correctly.

R CMD check proceeds without this issue in R 2.12-patched.

If you need further information, let me know.

All the best,

Gavin

> sessionInfo()
R version 2.13.0 alpha (2011-03-26 r55068) Platform: x86_64-unknown-linux-gnu (64-bit)

locale:

 [1] LC_CTYPE=en_GB.utf8       LC_NUMERIC=C             
 [3] LC_TIME=en_GB.utf8        LC_COLLATE=en_GB.utf8    
 [5] LC_MONETARY=C             LC_MESSAGES=en_GB.utf8   
 [7] LC_PAPER=en_GB.utf8       LC_NAME=C                
 [9] LC_ADDRESS=C              LC_TELEPHONE=C           
[11] LC_MEASUREMENT=en_GB.utf8 LC_IDENTIFICATION=C      

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods  
[7] base

00check.log - ignore the missing documentation and documentation mismatch warnings - they are for code I am currently checking/working on that only exists in my local source tree not in the R-forge repository nor in the package sources on CRAN.

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Sat 26 Mar 2011 - 21:39:22 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 26 Mar 2011 - 22:40:37 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive