Submission error: failed to save outputs

Hi @alfarzan, I have problems with the Submission #115010. It says “failed to save outputs: exit status 2. View the submission for more details.” and “Max duration limit exceeded” in the Generate Predictions part. Could you please have a look at it?

Thank you very much in advance.

Hi @tk230147

Yes so the issue here is that your model took too long to try to make predictions. This time limit is quite high so it should not happen.

I had a deeper look to see what is going on and it seems that your code in model.R tries to install packages. However this script is executed within an environment with no internet access so it keeps trying again a few times and then it times out.

To fix the issue, please include all package installation only in install.R and then load them with require or library inside of model.R.

If that doesn’t resolve it please let me know :slight_smile:

1 Like