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

pak installation fails on ARM64 docker image #43

Closed
AlexAxthelm opened this issue Dec 10, 2024 · 0 comments · Fixed by #44
Closed

pak installation fails on ARM64 docker image #43

AlexAxthelm opened this issue Dec 10, 2024 · 0 comments · Fixed by #44

Comments

@AlexAxthelm
Copy link
Contributor

pak::local_install_deps() is failing on main with an error message Wrong OS or architecture, pak is probably dysfunctional.

It appears that install.packages() is installing the x86_64 version of pak, rather than the one correct for an ARM64 architecture.

Use suggested installation command:

install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))
AlexAxthelm added a commit that referenced this issue Dec 10, 2024
Update `Dockerfile` to allow multiarch builds, by targeting non `x86_64`
archs for `pak` and other R package installation.

Closes: #43
AlexAxthelm added a commit that referenced this issue Dec 10, 2024
build(docker): #43 Allow multi-architecture builds
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 a pull request may close this issue.

1 participant