Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a .sh script for running renv::restore()? #18

Open
Aariq opened this issue Oct 17, 2024 · 0 comments
Open

Add a .sh script for running renv::restore()? #18

Aariq opened this issue Oct 17, 2024 · 0 comments

Comments

@Aariq
Copy link
Member

Aariq commented Oct 17, 2024

I'll have to think about this a bit, but rather than running renv::restore() in an interactive session or on Open OnDemand, an alternative would be to run it as a SLURM job. The issue with that is that renv::restore() fairly often doesn't "just work", especially on the HPC where you might have forgotten to load some module to satisfy system dependencies of an R package. That being said, if it is "just working", it's probably easier to do sbatch renv.sh to install R packages than to get into an interactive session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant