[R] Error in "make check-all"

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Sep 27 18:28:49 CEST 2005


On Tue, 27 Sep 2005, Fernando Mayer wrote:

> Dear Prof. Ripley, that was exactly what i did. Should i login on the system 
> as root, instead of login as user and became root via console? What should i 
> do to have X11 usable?

Well, I don't worry about this, but it you want to do a complete test you 
need the console running the user that is going to be running R.

(I see this when running tests remotely, as then I have no X11 display set 
to save bandwidth.  I just ignore it.)

>
> Thanks,
> Fernando Mayer.
>
>
> Prof Brian Ripley escreveu:
>
>> This is what happens if you don't have a usable X11 display.  Did you 
>> perhaps use a root account on a console owned by a normal user?
>> 
>> On Tue, 27 Sep 2005, Fernando Mayer wrote:
>> 
>> 
>>> Dear R-users,
>>> 
>>> i'm a very newbie in linux, but decided to build R from source.
>>> Following the "R Installation and Administration" manual, i did this:
>>> 
>>> ./configure --enable-R-shlib # this option is here because i intend to
>>> build the GNOME console after...
>>> make
>>> make check
>>> 
>>> no problems in make check, but:
>>> 
>>> make check-devel #and also
>>> make check-all
>>> 
>>> indicated some WARNINGs in the log file:
>>> 
>>> /usr/local/R-2.1.1/tests/tcltk.Rcheck/00check.Rcheck
>>> 
>>> Right below is the content of this log file (I translated some words):
>>> 
>>> [start log file]
>>> 
>>> * using log directory '/usr/local/R-2.1.1/tests/tcltk.Rcheck'
>>> * using R version 2.1.1, 2005-06-20
>>> * looks like 'tcltk' is a base package
>>> * skipping installation test
>>> * checking package directory ... OK
>>> * checking for portable file names ... OK
>>> * checking for sufficient/correct file permissions ... OK
>>> * checking DESCRIPTION meta-information ... OK
>>> * checking package dependencies ... OK
>>> * checking index information ... OK
>>> * checking package subdirectories ... OK
>>> * checking S3 generic/method consistency ... WARNING
>>> Erro: .First.lib failed for 'tcltk'
>>> Call sequence:
>>> 2: stop(gettextf(".First.lib failed for '%s'", libraryPkgName(package)),
>>>      domain = NA)
>>> 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose =
>>> FALSE)
>>> Interrupted execution
>>> See section 'Generic functions and methods' of the 'Writing R Extensions'
>>> manual.
>>> * checking replacement functions ... WARNING
>>> Error: .First.lib failed for 'tcltk'
>>> Call sequence:
>>> 2: stop(gettextf(".First.lib failed for '%s'", libraryPkgName(package)),
>>>      domain = NA)
>>> 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose =
>>> FALSE)
>>> Interrupted execution
>>> In R, the argument of a replacement function which corresponds to the 
>>> right
>>> hand side must be named 'value'.
>>> * checking foreign function calls ... WARNING
>>> Error: .First.lib failed for 'tcltk'
>>> Call sequence:
>>> 2: stop(gettextf(".First.lib failed for '%s'", libraryPkgName(package)),
>>>      domain = NA)
>>> 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose =
>>> FALSE)
>>> Interrupted execution
>>> See section 'System and foreign language interfaces' of the 'Writing R
>>> Extensions' manual.
>>> * checking Rd files ... OK
>>> * checking for missing documentation entries ... WARNING
>>> Error: .First.lib failed for 'tcltk'
>>> Call sequence:
>>> 2: stop(gettextf(".First.lib failed for '%s'", libraryPkgName(package)),
>>>      domain = NA)
>>> 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose =
>>> FALSE)
>>> Interrupted execution
>>> All user-level objects in a package should have documentation entries.
>>> See chapter 'Writing R documentation files' in manual 'Writing R
>>> Extensions'.
>>> * checking for code/documentation mismatches ... WARNING
>>> Error: .First.lib failed for 'tcltk'
>>> Call sequence:
>>> 2: stop(gettextf(".First.lib failed for '%s'", libraryPkgName(package)),
>>>      domain = NA)
>>> 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose =
>>> FALSE)
>>> Interrupted execution
>>> Error: .First.lib failed for 'tcltk'
>>> Call sequence:
>>> 2: stop(gettextf(".First.lib failed for '%s'", libraryPkgName(package)),
>>>      domain = NA)
>>> 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose =
>>> FALSE)
>>> Interrupted execution
>>> Error: .First.lib failed for 'tcltk'
>>> Call sequence:
>>> 2: stop(gettextf(".First.lib failed for '%s'", libraryPkgName(package)),
>>>      domain = NA)
>>> 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose =
>>> FALSE)
>>> Interrupted execution
>>> * checking Rd \usage sections ... OK
>>> * checking DVI version of manual ... OK
>>> 
>>> [end log file]
>>> 
>>> The problem is in the tcltk package. I have searched in the archives,
>>> but didin't find anything similar to this problem (maybe there is, but i
>>> was not able to identify it). I really don't know what all the warnings
>>> means. What i need to know is what am i missing, and if there is
>>> something i can fix it. Also, are there any problems if i continue the
>>> installation without fix something?
>>> 
>>> P.S.: actually R is running already from where it was buit, but i want
>>> to install it. So i want to avoid future problems, if this warnings
>>> really make some.
>>> 
>>> Any help is appreciated. Thanks!
>>> 
>>> Fernando Mayer.
>>> 
>>> version
>>>        _
>>> platform i686-pc-linux-gnu
>>> arch     i686
>>> os       linux-gnu [SuSE 9.3]
>>> system   i686, linux-gnu
>>> status
>>> major    2
>>> minor    1.1
>>> year     2005
>>> month    06
>>> day      20
>>> language R
>>> 
>>> 
>>> 	[[alternative HTML version deleted]]
>>> 
>>> ______________________________________________
>>> R-help at stat.math.ethz.ch mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide! 
>>> http://www.R-project.org/posting-guide.html
>>> 
>>> 
>> 
>> 
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list