[R] make check fails -- how to debug

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Wed Feb 12 10:29:52 CET 2020


On 11/02/2020 4:26 p.m., Barris, Wes wrote:
> I am trying to build R-3.6.2 on a Linux system running CentOS 7.7.1908.  "make check" fails.  How can I troubleshoot this to find out what is wrong?
> 
> R_PAPERSIZE=letter
> cd R-3.6.2
> mkdir CentOS
> ../configure --with-x=no --enable-R-shlib
> make
> make check
> .
> .
> .
> running code in '../../tests/array-subset.R' ... OK
> running code in '../../tests/reg-tests-1a.R' ... OK
> running code in '../../tests/reg-tests-1b.R' ... OK
> running code in '../../tests/reg-tests-1c.R' ... OK
> running code in '../../tests/reg-tests-1d.R' ... OK
> running code in '../../tests/reg-tests-2.R' ... OK
>    comparing 'reg-tests-2.Rout' to '../../tests/reg-tests-2.Rout.save' ... OK
> running code in '../../tests/reg-examples1.R' ... OK
> running code in '../../tests/reg-examples2.R' ... OK
> running code in '../../tests/reg-packages.R' ...make[3]: *** [reg-packages.Rout] Error 1
> make[3]: Leaving directory `/usr/local/src/stats/R-3.6.2/CentOS/tests'
> make[2]: *** [test-Reg] Error 2
> make[2]: Leaving directory `/usr/local/src/stats/R-3.6.2/CentOS/tests'
> make[1]: *** [test-all-basics] Error 1
> make[1]: Leaving directory `/usr/local/src/stats/R-3.6.2/CentOS/tests'
> make: *** [check] Error 2
> 

At the end of that run, you'll see the log of the failed test in 
tests/reg-packages.Rout.fail (or some name a lot like that).  You'll 
have to figure out why it failed from that log.

Duncan Murdoch



More information about the R-help mailing list