Skip to content

Problems compiling R

2 messages · Kjetil Halvorsen, Johannes Ranke

#
Hola!

I had my hard disk and cpu fried, so had to reinstall debian from
scratch, and now I have problems compiling R
R-2.14.0. My system is wheezy with Xfce4 desktop.  (-amd-64)

./configure
make

runs without problems, but make test dose not!

Here is some of the output from make test:


kjetil at kjetil:~/R/R-2.14.0$ make check
make[1]: Entering directory `/home/kjetil/R/R-2.14.0/tests'
make[2]: Entering directory `/home/kjetil/R/R-2.14.0/tests'
make[3]: Entering directory `/home/kjetil/R/R-2.14.0/tests/Examples'
initializing class and method definitions ...done
Testing examples for package ?base?
  comparing ?base-Ex.Rout? to ?base-Ex.Rout.prev? ...
1401c1401
<                               "Linux"                       "3.0.0-1-amd64"
---
1403c1403
< "#1 SMP Sat Aug 27 16:21:11 UTC 2011"                              "kjetil"
---
5667c5667
< 67
---
Testing examples for package ?tools?
  comparing ?tools-Ex.Rout? to ?tools-Ex.Rout.save? ...
files differ in number of lines:
1d0
< initializing class and method definitions ...done
Testing examples for package ?utils?
  comparing ?utils-Ex.Rout? to ?utils-Ex.Rout.prev? ... OK
Testing examples for package ?grDevices?
  comparing ?grDevices-Ex.Rout? to ?grDevices-Ex.Rout.save? ...
files differ in number of lines:
1d0
< initializing class and method definitions ...done
Testing examples for package ?graphics?
  comparing ?graphics-Ex.Rout? to ?graphics-Ex.Rout.save? ...
files differ in number of lines:
1d0
< initializing class and method definitions ...done
Testing examples for package ?stats?
  comparing ?stats-Ex.Rout? to ?stats-Ex.Rout.save? ...
files differ in number of lines:
1d0
< initializing class and method definitions ...done
Testing examples for package ?datasets?
  comparing ?datasets-Ex.Rout? to ?datasets-Ex.Rout.save? ...
files differ in number of lines:
1d0

-------------------------------------------------------------------------------------------------------------------
#
On Friday 18 November 2011 20:34:59 Kjetil brinchmann Halvorsen wrote:
Ola Kjetil,

you may want to consider installing the latest R from unstable by apt pinning. 
The respective section from the Debian README on CRAN:

"DEBIAN TESTING

Before R 2.12.2, when squeeze was not released yet, I proposed apt-pinning for 
installing up-to-date R packages from unstable (sid) on squeeze by creating a 
file /etc/apt/preferences containing

   Package: *
   Pin: release a=testing
   Pin-Priority: 650

   Package: *
   Pin: release a=unstable
   Pin-Priority: 600

and adding a line for unstable in /etc/apt/sources.list. As the new testing 
distribution with codename wheezy is not frozen, you can remove or uncomment 
these entries, except if you want to have the latest R version on wheezy 
before it migrates from unstable to testing."

Kind regards,

Johannes