Skip to content

Rig doesn't return non-zero exit code when running scripts #261

Closed
@botan

Description

@botan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions