Closed
Description
Hello. I want to use rig run
as Rscript
replacement for running R scripts with different R versions. However, the rig doesn't return the script's exit code. Is there any way to forward scripts exit code out when using rig run
?
rig --version
RIG -- The R Installation Manager 0.7.0
rig run -e "stop()"
Error:
Execution halted
echo $?
0
Rscript -e "stop()"
Error:
Execution halted
echo $?
1