I'm trying to install INLA on a new pc, without success:
This is the message
* installing *binary* package 'INLA' ...
cp: unknown option -- )
Try '/usr/bin/cp --help' for more information.
ERROR: installing binary package failed
* removing 'C:/Users/32498/Documents/R/win-library/4.0/INLA'
Warning in install.packages :
installation of package ‘INLA’ had non-zero exit status
From github I have no problem but the version is different (999.999 something) and not compatible with the packages that I want to use. Furthermore, this method I read that is not recommended for installation.
SesionInfo() gives
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22000)
Matrix products: default
locale:
[1] LC_COLLATE=English_United Kingdom.1252
[2] LC_CTYPE=English_United Kingdom.1252
[3] LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United Kingdom.1252
attached base packages:
[1] stats graphics grDevices utils datasets
[6] methods base
loaded via a namespace (and not attached):
[1] locfit_1.5-9.4 tidyselect_1.1.1 nortest_1.0-4
[4] xfun_0.29 olsrr_0.5.3 purrr_0.3.4
[7] splines_4.0.2 lattice_0.20-45 carData_3.0-5
[10] colorspace_2.0-2 vctrs_0.3.8 generics_0.1.1
[13] htmltools_0.5.2 yaml_2.2.2 mgcv_1.8-38
[16] utf8_1.2.2 rlang_0.4.12 pillar_1.6.5
[19] glue_1.6.1 DBI_1.1.2 foreach_1.5.1
[22] lifecycle_1.0.1 munsell_0.5.0 gtable_0.3.0
[25] mvnfast_0.2.7 codetools_0.2-18 evaluate_0.14
[28] knitr_1.37 fastmap_1.1.0 fansi_1.0.2
[31] Rcpp_1.0.8 clipr_0.7.1 scales_1.1.1
[34] abind_1.4-5 gridExtra_2.3 ggplot2_3.3.5
[37] digest_0.6.29 gam_1.20 dplyr_1.0.7
[40] grid_4.0.2 gratia_0.6.0 tools_4.0.2
[43] magrittr_2.0.2 goftest_1.2-3 patchwork_1.1.1
[46] tibble_3.1.6 tidyr_1.1.4 crayon_1.4.2
[49] car_3.0-12 pkgconfig_2.0.3 ellipsis_0.3.2
[52] Matrix_1.4-0 data.table_1.14.2 assertthat_0.2.1
[55] rmarkdown_2.11 iterators_1.0.13 R6_2.5.1
[58] mctest_1.3.1 nlme_3.1-155 compiler_4.0.2
All my packages are update except: (c("quantreg", "rlang"))