Skip to content

Add install.R to include additional R packages #1

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

Merged
merged 3 commits into from
Jun 5, 2024
Merged

Conversation

rwegener2
Copy link
Contributor

What has been built?

At the moment I don't believe there is an easy way to add additional R libraries to this environment (I'd love to hear if there is but I missed it!). This PR adds code that allows additional R libraries to be installed via an install.R file. It adds two additional libraries, spatialEco and lidR, as example libraries which previously weren't in the environment.

How was it done?

  • A RUN line was added to the Dockerfile which looks for and runs install.R
  • An install.R file was added to the root of the repo

How can it be tested?

  • open the image, open RStudio, and run library(spatialEco) or library(lidR)

@rwegener2 rwegener2 requested a review from tsnow03 May 16, 2024 14:20
@rwegener2
Copy link
Contributor Author

Hey @tsnow03 👋🏻
Is this PR of interest to you? If not I'm happy to make a separate R image repo for SARP, but since you mentioned that not a lot has been contributed to the R image yet I thought I might as well just make a direct PR here.

@tsnow03 tsnow03 merged commit 5214ccd into main Jun 5, 2024
@tsnow03 tsnow03 deleted the specify_installs branch June 5, 2024 06:20
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

Successfully merging this pull request may close these issues.

None yet

2 participants