Installation Error for INLA version 25.06.13 on Windows 11

99 views
Skip to first unread message

Prince Michael Amegbor

unread,
Jul 6, 2025, 5:14:22 PM7/6/25
to R-inla discussion group

Hi,

I'm running into an issue while trying to install the development version of INLA (25.06.13) on Windows 11 using the remotes package. I am using the latest version of R 4.5.1. I got the error below:


Downloading package from url: https://inla.r-inla-download.org/R/testing/src/contrib/INLA_25.06.13.tar.gz
Skipping 2 packages not available: graph, Rgraphviz
Installing package into ‘C:/Users/pmame/AppData/Local/R/win-library/4.5’
(as ‘lib’ is unspecified)
* installing *binary* package 'INLA' ...
cp: unknown option -- )
Try '/usr/bin/cp --help' for more information.
ERROR: installing binary package failed
* removing 'C:/Users/pmame/AppData/Local/R/win-library/4.5/INLA'
Warning message:
In i.p(...) :
  installation of package ‘.../INLA’ had non-zero exit status


sessionInfo() R version 4.5.1 (2025-06-13 ucrt) Platform: x86_64-w64-mingw32/x64 Running under: Windows 11 x64 (build 26100) Matrix products: default LAPACK version 3.12.1 locale: [1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8 LC_MONETARY=English_United States.utf8 [4] LC_NUMERIC=C LC_TIME=English_United States.utf8 time zone: America/New_York tzcode source: internal attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_4.5.1 tools_4.5.1 rstudioapi_0.17.1 remotes_2.5.0

Havard Rue

unread,
Jul 6, 2025, 5:49:33 PM7/6/25
to R-inla discussion group, Prince Michael Amegbor
It’s downloading the wrong file, why, I do t know.   It should download the windows binary.   You can go to …/R.  And locate the file and download and install manually 

-- 
Håvard Rue 
--
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/ac99a13c-a5fd-429d-bb71-b0d30f02fbc3n%40googlegroups.com.
Message has been deleted

Prince Michael Amegbor

unread,
Jul 8, 2025, 12:56:17 AM7/8/25
to R-inla discussion group
Thanks,   Håvard. I will do that.

That is strange, considering I am using the download code directly from the R-INLA page.

remotes::install_version("INLA", version = "25.06.13",
repos = c(getOption("repos"), INLA = "https://inla.r-inla-download.org/R/testing"), dep = TRUE)

Finn Lindgren

unread,
Jul 8, 2025, 2:06:35 AM7/8/25
to Prince Michael Amegbor, R-inla discussion group
Install_version is the issue, as it doesn’t understand it needs to get the binary build, not the source package. But that’s strange, since the docs says that the default on windows is not source. Take a look at the documentation, and set the type argument to something that tells it to get the binary package.
Finn

On 8 Jul 2025, at 06:56, Prince Michael Amegbor <pmam...@gmail.com> wrote:

Thanks,   Håvard. I will do that.

Prince Michael Amegbor

unread,
Jul 8, 2025, 12:52:28 PM7/8/25
to Finn Lindgren, R-inla discussion group
Thanks, Finn.



"Obosom a onnii guan da, ohu guan aniwam mpe a, ose, 'Eye srade' - A god that has never had a sheep given to it,  when it sees even the matter in the corner of a sheep's eye, says 'It is a fat one' "  - (Akan  Proverb)

Reply all
Reply to author
Forward
0 new messages