Skip to content

Conversation

@ignatiusm
Copy link
Contributor

@ignatiusm ignatiusm commented Jul 9, 2024

Summary

This adds README and example R script (along with devbox.lock and devbox.json)

How was it tested?

I tested the example repo on both aarch64-darwin and x86_64-linux by cd'ing into examples/data_science/R directory; running devbox shell then Rscript src/examplePlot.R. I considered the test to have passed if an Rplots.pdf file was produced with a scatterplot image.

This should do for most R users. However there is a case that I haven't handled: Sometimes users will want to install packages that are not on CRAN and therefore not on nixpkgs/nixhub.io (e.g. installing packages from github using the R package devtools). I'm not sure of an easy way to address this yet.

Addresses #2182

@ignatiusm ignatiusm mentioned this pull request Jul 9, 2024
@Lagoja
Copy link
Contributor

Lagoja commented Jul 9, 2024

This is awesome, thank you for contributing! I can add a similar page to our documentation once this is merged in

@Lagoja Lagoja merged commit 56ba0c1 into jetify-com:main Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants