You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> install.packages("arules")
also installing the dependency ‘Matrix’
There is a binary version available but the source version is later:
binary source needs_compilation
Matrix 1.5-1 1.5-3 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) y
trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.1/arules_1.7-5.tgz'
Content type 'application/x-gzip' length 2228175 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
The downloaded binary packages are in
/var/folders/__/zqmql0ln73dc8_qhcnflpyh40000gn/T//RtmpekTHha/downloaded_packages
installing the source package ‘Matrix’
trying URL 'https://cran.rstudio.com/src/contrib/Matrix_1.5-3.tar.gz'
Content type 'application/x-gzip' length 2163568 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
* installing *source* package ‘Matrix’ ...
** package ‘Matrix’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ERROR: compilation failed for package ‘Matrix’
* removing ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Matrix’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Matrix’
Warning in install.packages :
installation of package ‘Matrix’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/__/zqmql0ln73dc8_qhcnflpyh40000gn/T/RtmpekTHha/downloaded_packages’
> library(arules)
Error: package ‘Matrix’ 1.3.3 is loaded, but >= 1.4.0 is required by ‘arules’
In addition: Warning message:
package ‘arules’ was built under R version 4.1.2
my session info:
> sessionInfo()
R version 4.1.0 (2021-05-18)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS 13.0.1
Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] Matrix_1.3-3
loaded via a namespace (and not attached):
[1] colorspace_2.0-3 scales_1.1.1 compiler_4.1.0 R6_2.5.1 cli_3.2.0 tools_4.1.0
[7] Rcpp_1.0.8.2 cellranger_1.1.0 readxl_1.3.1 grid_4.1.0 lifecycle_1.0.1 munsell_0.5.0
[13] rlang_1.0.2 lattice_0.20-44
How can i fix this?
The text was updated successfully, but these errors were encountered:
I am unable to install the package:
my session info:
How can i fix this?
The text was updated successfully, but these errors were encountered: