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

comic fans com|c|@n@44 @end|ng |rom gm@||@com
Sun Mar 10 04:15:50 CET 2019


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 ?



More information about the R-devel mailing list