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 bspm for package installation #122

Open
5 tasks
eeholmes opened this issue Oct 30, 2024 · 0 comments
Open
5 tasks

add bspm for package installation #122

eeholmes opened this issue Oct 30, 2024 · 0 comments
Assignees
Labels
tasks general to do tasks
Milestone

Comments

@eeholmes
Copy link
Member

eeholmes commented Oct 30, 2024

  • test in repo2docker. doesn't seem to actually work
  • how can user turn this off?
  • install in docker file
  • Check all the ENVs are properly exported to child docker builds
  • Test with install.R install.package("sf", "terra", "TMB", "av")

Install bspm

## Fifth: install bspm (and its Python requirements) and enable it
## If needed (in bare container, say) install python tools for bspm and R itself
apt-get install --yes --no-install-recommends python3-{dbus,gi,apt} \
	make sudo r-cran-{docopt,littler,remotes} 
## Then install bspm (as root) and enable it, and enable a speed optimization
Rscript -e 'install.packages("bspm")'
R_HOME=$(R RHOME)
# must go first
echo "options(bspm.sudo = TRUE)" >> ${R_HOME}/etc/Rprofile.site
echo "options(bspm.version.check=FALSE)" >> ${R_HOME}/etc/Rprofile.site
echo "suppressMessages(bspm::enable())" >> ${HOME}/.Rprofile
@eeholmes eeholmes added the tasks general to do tasks label Oct 30, 2024
@eeholmes eeholmes added this to the py-rocket milestone Oct 30, 2024
@eeholmes eeholmes self-assigned this Oct 30, 2024
@eeholmes eeholmes moved this to Backlog in py-rocket 3.0 Oct 30, 2024
@eeholmes eeholmes modified the milestones: py-rocket, py-rocket 2 Oct 30, 2024
@eeholmes eeholmes modified the milestones: py-rocket 2, Maybe Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tasks general to do tasks
Projects
Status: Backlog
Development

No branches or pull requests

1 participant