Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Help with MacOS install on R4.5

53 views
Skip to first unread message

Gregor Gorjanc

unread,
May 5, 2025, 3:56:19 AMMay 5
to R-inla discussion group
Hi,

I just tried a fresh install of R-INLA on my MacOS (Sonoma 14.7.5 (23H527), M3 chip) and keep failing. I followed instructions at https://www.r-inla.org/download-install and tried both:
1) with R from Homebrew and
2) with R from CRAN

In both cases I get stuck. Here is the error I get form using the R from CRAN:

> library(INLA)
> fit <- inla(y ~ 1, data = data.frame(y = rnorm(100)))
Error in inla.call.builtin() : INLA installation error; no such file

> system.file("bin/", package = "INLA")
[1] "/Users/ggorjanc/Library/R/arm64/4.5/library/INLA/bin/"
> dir(system.file("bin/", package = "INLA"))
[1] "linux"   "mac"     "remote"  "windows"
> dir(system.file("bin/mac", package = "INLA"))
character(0)

I am at a loss at what else I could do. Bellow I show more details.

Thanks!

Gregor

R version 4.5.0 (2025-04-11) -- "How About a Twenty-Six"
Copyright (C) 2025 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin20

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> install.packages("INLA",repos=c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/stable"), dep=TRUE)
Installing package into ‘/Users/ggorjanc/Library/R/arm64/4.5/library’
(as ‘lib’ is unspecified)
Content type 'application/x-tar' length 58172018 bytes (55.5 MB)
==================================================
downloaded 55.5 MB

Error in install.packages : file ‘/var/folders/f_/58r_f9r97t3gmvlmt3_l834m0000gq/T//RtmpRQaHHh/downloaded_packages/INLA_25.05.04-1.tgz’ is not a macOS binary package

> install.packages("INLA",repos=c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/testing"), dep=TRUE)
Installing package into ‘/Users/ggorjanc/Library/R/arm64/4.5/library’
(as ‘lib’ is unspecified)
Content type 'application/x-tar' length 58172018 bytes (55.5 MB)
==================================================
downloaded 55.5 MB

Error in install.packages : file ‘/var/folders/f_/58r_f9r97t3gmvlmt3_l834m0000gq/T//RtmpRQaHHh/downloaded_packages/INLA_25.05.04-1.tgz’ is not a macOS binary package

> remotes::install_version("INLA", version = "25.04.29",
+                          repos = c(getOption("repos"), INLA = "https://inla.r-inla-download.org/R/testing"), dep = TRUE)
Skipping 3 packages not available: graph, Rgraphviz, HKprocess
Installing package into ‘/Users/ggorjanc/Library/R/arm64/4.5/library’
(as ‘lib’ is unspecified)
* installing *binary* package ‘INLA’ ...
* DONE (INLA)

> library(INLA)
Loading required package: Matrix
This is INLA_25.04.29 built 2025-04-29 21:06:26 UTC.
- See www.r-inla.org/contact-us for how to get help.
- List available models/likelihoods/etc with inla.list.models()
- Use inla.doc(<NAME>) to access documentation
- Save 173Mb of storage running 'inla.prune()'
- Consider upgrading R-INLA to testing[25.05.04-1] or stable[24.12.11].
> fit <- inla(y ~ 1, data = data.frame(y = rnorm(100)))
Error in inla.call.builtin() : INLA installation error; no such file

> system.file("bin/", package = "INLA")
[1] "/Users/ggorjanc/Library/R/arm64/4.5/library/INLA/bin/"
> dir(system.file("bin/", package = "INLA"))
[1] "linux"   "mac"     "remote"  "windows"
> dir(system.file("bin/mac", package = "INLA"))
character(0)

> inla.upgrade(testing=TRUE) # for the testing version
INLA :
Version 25.04.29 installed in /Users/ggorjanc/Library/R/arm64/4.5/library
Version 25.05.04-1 available at https://inla.r-inla-download.org/R/testing
Update? (Yes/no/cancel)
Content type 'application/x-tar' length 58172018 bytes (55.5 MB)
==================================================
downloaded 55.5 MB

Error: file ‘/var/folders/f_/58r_f9r97t3gmvlmt3_l834m0000gq/T//RtmpRQaHHh/downloaded_packages/INLA_25.05.04-1.tgz’ is not a macOS binary package

Helpdesk (Haavard Rue)

unread,
May 5, 2025, 4:08:04 AMMay 5
to Gregor Gorjanc, R-inla discussion group
You need to use the CRAN version of R, and retry with the newest testing version
of R-INLA.

My MacOS is
KW-18302:~ rueh$ sw_vers
ProductName: macOS
ProductVersion: 15.3
BuildVersion: 24D60

so it might, independently, be a good idea to upgrade MacOS as well
> ges/INLA_25.05.04-1.tgz’ is not a macOS binary package
> --
> You received this message because you are subscribed to the Google Groups "R-
> inla discussion group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to r-inla-discussion...@googlegroups.com.
> To view this discussion, visit
> https://groups.google.com/d/msgid/r-inla-discussion-group/681bad15-ce4c-4676-b9fb-0f2793cf2637n%40googlegroups.com
> .

--
Håvard Rue
he...@r-inla.org

Helpdesk (Haavard Rue)

unread,
May 5, 2025, 7:06:23 AMMay 5
to Gregor Gorjanc, Gregor Gorjanc, R-inla discussion group

Connecting to inla.r-inla-download.org (inla.r-inla-download.org)|85.187.142.74|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 58172018 (55M) [application/x-tar]
Saving to: ‘INLA_25.05.04-1.tgz’

INLA_25.05.04-1.tgz 100%[==========================================================>] 55.48M 16.8MB/s in 4.1s

2025-05-05 14:03:47 (13.6 MB/s) - ‘INLA_25.05.04-1.tgz’ saved [58172018/58172018]

KW-18302:tmp rueh$ R --vanilla CMD INSTALL ./INLA_25.05.04-1.tgz
* installing to library '/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library'
* installing *source* package 'INLA' ...
** this is package 'INLA' version '25.05.04-1'
** using non-staged installation via StagedInstall field
** R
** data
*** moving datasets to lazyload DB
** demo
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (INLA)
KW-18302:tmp rueh$ R --vanilla -e 'library(INLA); inla(y~1,data=data.frame(y=0))'

R version 4.5.0 (2025-04-11) -- "How About a Twenty-Six"
Copyright (C) 2025 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin20

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(INLA); inla(y~1,data=data.frame(y=0))
Loading required package: Matrix
This is INLA_25.05.04-1 built 2025-05-05 11:04:02 UTC.
- See www.r-inla.org/contact-us for how to get help.
- List available models/likelihoods/etc with inla.list.models()
- Use inla.doc(<NAME>) to access documentation
Time used:
Pre = 2.79, Running = 1.51, Post = 0.0143, Total = 4.32
>
KW-18302:tmp rueh$




























On Mon, 2025-05-05 at 10:57 +0000, Gregor Gorjanc wrote:







Hi,

Something strange is happening still:(

1) I upgraded my OS, so now I have:

uname -a
Darwin S37-0Y3YJF6V 24.4.0 Darwin Kernel Version 24.4.0: Fri Apr 11 18:34:14 PDT 2025; root:xnu-11417.101.15~117/RELEASE_ARM64_T8122 arm64

sw_vers
ProductName: macOS
ProductVersion: 15.4.1
BuildVersion: 24E263

2) I also deleted and re-installed R from CRAN.

3) Tried INLA installation again and got this error (see the bolded part)

install.packages("INLA", repos = c(getOption("repos"), INLA = "https://inla.r-inla-download.org/R/testing"))
Content type 'application/x-tar' length 58172018 bytes (55.5 MB)
==================================================
downloaded 55.5 MB

Error in install.packages : file ‘/var/folders/f_/58r_f9r97t3gmvlmt3_l834m0000gq/T//RtmpatNkWj/downloaded_packages/INLA_25.05.04-1.tgz’ is not a macOS binary package

Which is exactly the same message I got before prior to the OS upgrade:(

I also tried with the suggested remotes code chunk on the R-INLA website, which installs the package, BUT the inla binary is missing:(

remotes::install_version("INLA", version = "25.04.29",
+                          repos = c(getOption("repos"), INLA = "https://inla.r-inla-download.org/R/testing"))
* installing *binary* package ‘INLA’ ...
* DONE (INLA)
df <- data.frame(y = rnorm(100) + 10)
fit <- INLA::inla(
+   y ~ 1,
+   data = df
+ )
Error in inla.call.builtin() : INLA installation error; no such file

I am getting the same issue both on my laptop and on my desktop - both have the same OS.

gg






On Mon, May 05, 2025 at 09:08:36, Helpdesk (Haavard Rue)<he...@r-inla.org> wrote:




You need to use the CRAN version of R, and retry with the newest testing version of R-INLA.
My MacOS is
KW-18302:~ rueh$ sw_vers
ProductName: macOS
ProductVersion: 15.3
BuildVersion: 24D60
so it might, independently, be a good idea to upgrade MacOS as well
On Mon, 2025-05-05 at 00:56 -0700, Gregor Gorjanc wrote:
Hi,
I just tried a fresh install of R-INLA on my MacOS (Sonoma 14.7.5 (23H527), M3 chip) and keep failing. I followed instructions
at https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.r-inla.org%2Fdownload-install&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293163874434%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=%2FCzxfXLCG1sx0%2BhwjEpfkxzHkd6zxXk7alf%2FBhDKjYM%3D&reserved=0 and tried both:
1) with R from Homebrew and
2) with R from CRAN
In both cases I get stuck. Here is the error I get form using the R from CRAN:
library(INLA)
fit <- inla(y ~ 1, data = data.frame(y = rnorm(100)))
Error in inla.call.builtin() : INLA installation error; no such file
system.file("bin/", package = "INLA")
[1] "/Users/ggorjanc/Library/R/arm64/4.5/library/INLA/bin/"
dir(system.file("bin/", package = "INLA"))
[1] "linux"   "mac"     "remote"  "windows"
dir(system.file("bin/mac", package = "INLA"))
character(0)
I am at a loss at what else I could do. Bellow I show more details.
Thanks!
Gregor
R version 4.5.0 (2025-04-11) -- "How About a Twenty-Six" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: aarch64-apple-darwin20
R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details.
  Natural language support but running in an English locale
R is a collaborative project with many contributors. Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.
Installing package into ‘/Users/ggorjanc/Library/R/arm64/4.5/library’
(as ‘lib’ is unspecified)
trying URL
'https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Finla.r-inla-download.org%2FR%2Ftesting%2Fbin%2Fmacosx%2Fbig-sur-arm64%2Fcontrib%2F4&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293163914237%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=plcaIf8ucQWMKzL9YdPe0d7vNUriGY6A0ybcddCRJCM%3D&reserved=0

.5/INLA_25.05.04-1.tgz'
Content type 'application/x-tar' length 58172018 bytes (55.5 MB)
================================================== downloaded 55.5 MB
Error in install.packages : file
‘/var/folders/f_/58r_f9r97t3gmvlmt3_l834m0000gq/T//RtmpRQaHHh/downloaded_packa ges/INLA_25.05.04-1.tgz’ is not a macOS binary package
Installing package into ‘/Users/ggorjanc/Library/R/arm64/4.5/library’
(as ‘lib’ is unspecified)
trying URL
'https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Finla.r-inla-download.org%2FR%2Ftesting%2Fbin%2Fmacosx%2Fbig-sur-arm64%2Fcontrib%2F4&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293163941037%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=IB5%2F%2F5sbF3RPZ3SFtb%2B0dbXPoUlLONKersMvggg8Rtw%3D&reserved=0

.5/INLA_25.05.04-1.tgz'
Content type 'application/x-tar' length 58172018 bytes (55.5 MB)
================================================== downloaded 55.5 MB
Error in install.packages : file
‘/var/folders/f_/58r_f9r97t3gmvlmt3_l834m0000gq/T//RtmpRQaHHh/downloaded_packa ges/INLA_25.05.04-1.tgz’ is not a macOS binary package
remotes::install_version("INLA", version = "25.04.29",
+                          repos = c(getOption("repos"), INLA =
"https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Finla.r-inla-download.org%2FR%2Ftesting&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293163954441%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=X6Zww0YRBjyAI%2FOdk481vX4FY8wXAPjJNhyObufi1wQ%3D&reserved=0"), dep = TRUE) Downloading package from
url: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Finla.r-inla-download.org%2FR%2Ftesting%2Fsrc%2Fcontrib%2FINLA_25.04.29.tar&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293163967340%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=12wr9Xnf3Th8Ein1f6fBOiHbdypDKcQrO9Yp2g186vA%3D&reserved=0. gz
Skipping 3 packages not available: graph, Rgraphviz, HKprocess Installing package into ‘/Users/ggorjanc/Library/R/arm64/4.5/library’
(as ‘lib’ is unspecified)
* installing *binary* package ‘INLA’ ...
* DONE (INLA)
library(INLA)
Loading required package: Matrix
This is INLA_25.04.29 built 2025-04-29 21:06:26 UTC.
- See https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.r-inla.org%2Fcontact-us&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293163980128%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=d%2B9zBykQ%2FHLNPI8cHc%2FUBTOthDyxh7pYyNEk1n1l3KU%3D&reserved=0 for how to get help.
- List available models/likelihoods/etc with inla.list.models()
- Use inla.doc(<NAME>) to access documentation
- Save 173Mb of storage running 'inla.prune()'
- Consider upgrading R-INLA to testing[25.05.04-1] or stable[24.12.11].
fit <- inla(y ~ 1, data = data.frame(y = rnorm(100)))
Error in inla.call.builtin() : INLA installation error; no such file
system.file("bin/", package = "INLA")
[1] "/Users/ggorjanc/Library/R/arm64/4.5/library/INLA/bin/"
dir(system.file("bin/", package = "INLA"))
[1] "linux"   "mac"     "remote"  "windows"
dir(system.file("bin/mac", package = "INLA"))
character(0)
inla.upgrade(testing=TRUE) # for the testing version
INLA :
Version 25.04.29 installed in /Users/ggorjanc/Library/R/arm64/4.5/library Version 25.05.04-1 available at https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Finla.r-inla-download.org%2FR%2Ftesting&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293163992739%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=YX96JhCvu3ykIVj5DzfLbd81h8o%2FUqXWibu7vgkhEw0%3D&reserved=0 Update? (Yes/no/cancel)
trying URL
'https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Finla.r-inla-download.org%2FR%2Ftesting%2Fbin%2Fmacosx%2Fbig-sur-arm64%2Fcontrib%2F4&data=05%7C02%7C%7C48b9aae66bcc4fa4158f08dd8babfa49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293164008872%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=sRNb180Kc4Fi1lRoYbi8E2zItjZszmticiuuGxfBiWI%3D&reserved=0

.5/INLA_25.05.04-1.tgz'
Content type 'application/x-tar' length 58172018 bytes (55.5 MB)
================================================== downloaded 55.5 MB
Error: file
‘/var/folders/f_/58r_f9r97t3gmvlmt3_l834m0000gq/T//RtmpRQaHHh/downloaded_packa ges/INLA_25.05.04-1.tgz’ is not a macOS binary package
--
You received this message because you are subscribed to the Google Groups "R- inla discussion group" group.

Finn Lindgren

unread,
May 5, 2025, 8:15:54 AMMay 5
to Helpdesk, Gregor Gorjanc, Gregor Gorjanc, R-inla discussion group
I'm getting a similar error on the inlabru gihub tests for macos (platform = aarch64-apple-darwin20, path on the inla repo = bin/macosx/big-sur-arm64/contrib/4.5 )
The error message is then:

Error:
5137 ! error in pak subprocess
5138 Caused by error in `verify_extracted_package(filename, pkg_cache)`:
5139 !
5140 '/var/folders/hn/k7g0_sh57112t0xtjxcjcm5r0000gn/T//RtmpDvowf0/file403342c0938e/bin/macosx/big-sur-arm64/contrib/4.5/INLA_25.05.04-1.tgz'
5141 is not a valid binary, it is missing INLA/Meta/package.rds.

You received this message because you are subscribed to the Google Groups "R-inla discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to r-inla-discussion...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/r-inla-discussion-group/6021d31925e4ded125497782ed94387d7d890fe5.camel%40r-inla.org.


--
Finn Lindgren
email: finn.l...@gmail.com

Finn Lindgren

unread,
May 5, 2025, 8:21:54 AMMay 5
to Helpdesk, Gregor Gorjanc, Gregor Gorjanc, R-inla discussion group
Haavard, when you install your file downloaded with wget, it says
  " installing *source* package ‘INLA’ ..."
but for a binary package it should say
  " installing *binary* package 'INLA'..."
and the issue may be that the package isn't properly constructed as a *binary* package, and not all installation methods check that what they got was _actually_ a binary package, and proceeds with installation as a source package regardless, explaining why your method doesn't trigger the error.
You'll need to rebuild it as an actual binary package.
Finn

Helpdesk (Haavard Rue)

unread,
May 5, 2025, 8:24:02 AMMay 5
to Finn Lindgren, Gregor Gorjanc, Gregor Gorjanc, R-inla discussion group

aah, I'll check. this is done by the same build script as before so there must
be some change in R-4.5, likely
> > > > > > 49%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638820293163941037%7
> > > > > > CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsI
> > > > > > lAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=I
> > > > > > B5%2F%2F5sbF3RPZ3SFtb%2B0dbXPoUlLONKersMvggg8Rtw%3D&reserved=0
> > > > > >
> > > > > > .5/INLA_25.05.04-1.tgz'
> > > > > > Content type 'application/x-tar' length 58172018 bytes (55.5 MB)
> > > > > > ================================================== downloaded 55.5
> > > > > > MB
> > > > > > Error in install.packages : file
> > > > > > ‘/var/folders/f_/58r_f9r97t3gmvlmt3_l834m0000gq/T//RtmpRQaHHh/downlo
Håvard Rue
he...@r-inla.org

Gregor Gorjanc

unread,
May 5, 2025, 8:26:45 AMMay 5
to R-inla discussion group
Haavard,

I confirm that the last suggestion worked for me:


HTTP request sent, awaiting response... 200 OK
Length: 58172018 (55M) [application/x-tar]
Saving to: ‘INLA_25.05.04-1.tgz’

INLA_25.05.04-1.tgz                     100%[=============================================================================>]  55.48M  20.1MB/s    in 2.8s    

2025-05-05 13:22:50 (20.1 MB/s) - ‘INLA_25.05.04-1.tgz’ saved [58172018/58172018]

>R --vanilla CMD INSTALL ./INLA_25.05.04-1.tgz
* installing to library ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library’

* installing *source* package ‘INLA’ ...
** this is package ‘INLA’ version ‘25.05.04-1’
** using non-staged installation via StagedInstall field
** R
** data
*** moving datasets to lazyload DB
** demo
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (INLA)
>R --vanilla -e 'library(INLA); inla(y~1,data=data.frame(y=0))'

R version 4.5.0 (2025-04-11) -- "How About a Twenty-Six"
Copyright (C) 2025 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin20

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(INLA); inla(y~1,data=data.frame(y=0))
Loading required package: Matrix
This is INLA_25.05.04-1 built 2025-05-05 12:23:03 UTC.

 - See www.r-inla.org/contact-us for how to get help.
 - List available models/likelihoods/etc with inla.list.models()
 - Use inla.doc(<NAME>) to access documentation
Time used:
  Pre = 1.59, Running = 1.45, Post = 0.0153, Total = 3.05

Helpdesk (Haavard Rue)

unread,
May 5, 2025, 11:18:23 AMMay 5
to Gregor Gorjanc, R-inla discussion group
thi is strange, with R-4.5, then

R CMD INSTALL --build package-name

produce a binary Mac on Intel but not on M1


If anyone knows why or how to avoid, please let me know
> --
> You received this message because you are subscribed to the Google Groups "R-
> inla discussion group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to r-inla-discussion...@googlegroups.com.
> To view this discussion, visit
> https://groups.google.com/d/msgid/r-inla-discussion-group/eb9e5d9c-28f0-4d6e-8be5-c9d2bb846c3bn%40googlegroups.com

Helpdesk (Haavard Rue)

unread,
May 5, 2025, 11:45:31 AMMay 5
to Gregor Gorjanc, R-inla discussion group

on my Mac M1 , I installed the most recent patched R-4.5
from https://mac.r-project.org , buildt the INLA binary (hopefully...) package
again, and then its fine w me. It someone could confirm, it would be great

>
install.packages("INLA",repos=c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/testing
"), dep=TRUE)
trying URL
'https://inla.r-inla-download.org/R/testing/bin/macosx/big-sur-arm64/contrib/4.5/INLA_25.05.04-1.tgz'
Content type 'application/x-tar' length 47069558 bytes (44.9 MB)
==================================================
downloaded 44.9 MB


The downloaded binary packages are in
/var/folders/f4/dx7jrt3s0rl_92zv6m32zdc5rjqmy7/T//RtmpBuOCdT/downloaded
_packages

Finn Lindgren

unread,
May 5, 2025, 12:14:26 PMMay 5
to Helpdesk, Gregor Gorjanc, R-inla discussion group
This resolved the macos github testing for inlabru, thanks! (at least in terms of the INLA installation working and runs; one of the tests yields slightly changed results, but that may be an inla() method update effect).
Finn

You received this message because you are subscribed to the Google Groups "R-inla discussion group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to r-inla-discussion...@googlegroups.com.
Message has been deleted

Alexandre de Bustamante Simas

unread,
May 5, 2025, 1:20:57 PMMay 5
to Finn Lindgren, Helpdesk, Gregor Gorjanc, R-inla discussion group

Gregor Gorjanc

unread,
May 5, 2025, 1:21:06 PMMay 5
to R-inla discussion group
It now works on my end - see below - thanks!

> R.version
               _                                          
platform       aarch64-apple-darwin20                    
arch           aarch64                                    
os             darwin20                                  
system         aarch64, darwin20                          
status         Patched                                    
major          4                                          
minor          5.0                                        
year           2025                                      
month          05                                        
day            01                                        
svn rev        88186                                      
language       R                                          
version.string R version 4.5.0 Patched (2025-05-01 r88186)
nickname       How About a Twenty-Six                     

> install.packages("INLA",

+   repos = c(getOption("repos"),
+             INLA = "https://inla.r-inla-download.org/R/testing"))

Installing package into ‘/Users/ggorjanc/Library/R/arm64/4.5/library’
(as ‘lib’ is unspecified)
trying URL 'https://inla.r-inla-download.org/R/testing/bin/macosx/big-sur-arm64/contrib/4.5/INLA_25.05.04-1.tgz'
Content type 'application/x-tar' length 47069558 bytes (44.9 MB)
==================================================
downloaded 44.9 MB


The downloaded binary packages are in
/var/folders/d2/brkpzf554_n71tww54fqt3b401_bcv/T//RtmpQ9KAM3/downloaded_packages

> library(INLA); inla(y~1,data=data.frame(y=0))
Loading required package: Matrix
This is INLA_25.05.04-1 built 2025-05-05 15:39:33 UTC.

 - See www.r-inla.org/contact-us for how to get help.
 - List available models/likelihoods/etc with inla.list.models()
 - Use inla.doc(<NAME>) to access documentation
Time used:
  Pre = 2.05, Running = 2.3, Post = 0.0284, Total = 4.38

Reply all
Reply to author
Forward
0 new messages