[Rd] Installation error with R-devel

Therneau, Terry M., Ph.D. therneau at mayo.edu
Fri May 15 21:54:17 CEST 2015


I have a local library with functions that interrogates an institution-specific web API, 
so is not of interest to anyone outside of Mayo.  For some reason the R CMD INSTALL 
command fails.  See below:

Build the library, then install it.

tmt-local2127% R CMD build dart
* checking for file ‘dart/DESCRIPTION’ ... OK
* preparing ‘dart’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* looking to see if a ‘data/datalist’ file should be added
* building ‘dart_1.0-6.tar.gz’

tmt-local2128% R CMD INSTALL dart_1.0-6.tar.gz
* installing to library ‘/home/therneau/Rlib’
* installing *source* package ‘dart’ ...
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
Warning in file(con, "w") :
   cannot open file '/home/therneau/Rlib/dart/doc/index.html': No such file or directory
Error in file(con, "w") : cannot open the connection
ERROR: installing vignettes failed
* removing ‘/home/therneau/Rlib/dart’

-- The installation works ok if I build it with the no-build-vignettes option.
-- If I do that, I can cd to the vignettes directory and Sweave runs fine, i.e., 
library(dart) works
-- A call to "tar -tf dart_1.0-6.tar.gz" reveals that the inst directory has only a NEWS file.
-- R CMD check fails with the same message

Hints anyone?
Here is the sessionInfo() data

 > sessionInfo()
R Under development (unstable) (2015-05-14 r68368)
Platform: i686-pc-linux-gnu (32-bit)
Running under: Ubuntu 14.04.1 LTS

locale:
  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=C
  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
  [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

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



More information about the R-devel mailing list