From com|c|@n@44 @end|ng |rom gm@||@com  Sun Mar 10 04:15:50 2019
From: com|c|@n@44 @end|ng |rom gm@||@com (comic fans)
Date: Sun, 10 Mar 2019 11:15:50 +0800
Subject: [Rd] Exit status of Rscript when setting
 options(error=utils::recover)
Message-ID: <CAKzW8ok4mRyb5MwAAkaN==9qcq+NrqNv8vj5YsWU_AhZM_gFMg@mail.gmail.com>

Hello, I've noticed that Rscript didn't exit with error code if I set
options error = utils::recover in .Rprofile . for example

Rscript -e "asdf"

Error: object 'asdf' not found
No suitable frames for recover()

echo $?
0

if didn't set options in .Rprofile, Rscript exit with error code 1, is
this expected behavior ?



[Rd] Exit status of Rscript when setting options(error=utils::recover)
comic fans