Skip to content
Prev 15468 / 398500 Next

trouble with R CMD INSTALL for building my own library

Kurt Hornik wrote:
Yes. I actually made an extra dummy c file called foo.c in mylib/src :)
still nothing happens.
Here are more messages when running R CMD check/install/build

$R CMD check mylib
* checking for working latex ... OK
* using log directory `/mydir/mylib.Rcheck'
 
Installing binary package `mylib' ...
 DONE (mylib)
 
DONE (INSTALL)
 
* checking for file `mylib/DESCRIPTION' ... OK
* checking package directory ... OK
* checking for sufficient file permissions ... OK
* checking DESCRIPTION Package field ... OK
* checking DESCRIPTION Version field ... OK
* checking DESCRIPTION License field ... OK
* checking DESCRIPTION Description field ... OK
* checking DESCRIPTION Title field ... OK
* checking DESCRIPTION Author field ... OK
* checking DESCRIPTION Maintainer field ... OK
* checking R files for library.dynam ... OK

$R CMD build mylib
* checking for file `mylib/DESCRIPTION' ... OK
* preparing `mylib':
* cleaning src
* checking whether `INDEX' is up-to-date ...open(man): No such file or
directory at /usr/lib/R/bin/Rdindex line 117
 NO
* use `--force' to overwrite the existing `INDEX'
* removing junk files
* building `mylib_0.1.tar.gz'

After becoming super user, I ran

$R CMD INSTALL boosttree
Installing binary package `mylib' ...
 DONE (boosttree)
 
DONE (INSTALL)

As you can see, R CMD build tries to "clearning src". I am not sure if
this means that something went wrong in my
setup. 

Thanks plenty again for any insights!