[R] make check fails -- how to debug

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Wed Feb 12 10:36:38 CET 2020


On Tue, 11 Feb 2020 21:26:33 +0000
"Barris, Wes" <Wes.Barris using cobb-vantress.com> wrote:

> running code in '../../tests/reg-packages.R' ...make[3]: ***
> [reg-packages.Rout] Error 1

tests/Makefile.common has the following in the .R.Rout rule:

        @$(ECHO) $(ECHO_N) "running code in '$<' ...$(ECHO_C)" > $@.log
        @$(R) < $< > $@.fail 2>&1 || (cat $@.log && rm $@.log && exit 1)

> How can I troubleshoot this to find out what is wrong?

Take a look at tests/reg-packages.Rout.fail, it should contain all
output produced by tests/reg-packages.R when it ran.

-- 
Best regards,
Ivan



More information about the R-help mailing list