JuliaInterop / JuliaCall

Embed Julia in R
https://non-contradiction.github.io/JuliaCall/index.html
Other
267 stars 36 forks source link

Fix arch #225

Open tseaward opened 6 months ago

tseaward commented 6 months ago

Description

JuliaCall cannot find the correct version of Julia on M-series Mac.

  1. The command Sys.info()["machine"] returns aarch64 on my M2 MacBook Air. This is not catered for in julia_url();
  2. julia_latest_version() returns the incorrect value since v1.10 as it uses string sorting to find the maximum version; and
  3. short_version in julia_url() is set incorrectly since v1.10 since it only subsets the first 3 characters.

Related Issue

Example

tseaward commented 6 months ago

@Non-Contradiction