r-lib / rig

The R Installation Manager
MIT License
621 stars 21 forks source link

"R 4.4.0 development version" how to use? #225

Closed v-v1150n closed 4 months ago

v-v1150n commented 4 months ago

I think I need the latest version R to use some package , and than these developer of the package suggest me to use the development version like 4.4.0, how can I build this version, thanks

gaborcsardi commented 4 months ago

Versions available to install:

❯ rig available
name   version  release date  type
------------------------------------------
4.1.3  4.1.3    2022-03-10    release
4.2.3  4.2.3    2023-03-15    release
4.3.3  4.3.3    2024-02-29    release
next   4.4.0                  RC
devel  4.5.0                  devel

Install the next version:

❯ rig add next
[INFO] Running `sudo` for adding new R versions. This might need your password.
Password:
[INFO] Downloading https://mac.r-project.org/big-sur/last-success/R-4.4-branch-arm64.pkg -> /tmp/rig/arm64-R-4.4-branch-arm64.pkg
[INFO] Running installer
...

Run it:

❯ R-next

R version 4.4.0 RC (2024-04-16 r86435) -- "Puppy Cup"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin20
...
v-v1150n commented 4 months ago

Currently, everything is running normally after installing version 4.4.0. I will continue to run some of the latest versions of packages. Thank you for your help.