Hi! I just uploaded R and Rstudio on my Mac (I have MacOS Monterey version) and I cannot install packages.
Every time I want to install a package it tells me that:
install.packages("jmv")
Warning in install.packages :
dependencies ‘car’, ‘emmeans’, ‘afex’, ‘lavaan’, ‘ROCR’, ‘dplyr’, ‘magrittr’, ‘rlang’, ‘mvtnorm’, ‘TH.data’, ‘glue’, ‘forcats’, ‘lifecycle’, ‘cli’ are not available
also installing the dependencies ‘ellipsis’, ‘vctrs’, ‘hms’, ‘progress’, ‘scales’, ‘jmvcore’, ‘multcomp’, ‘ggplot2’, ‘GGally’, ‘ggridges’
There are binary versions available but the source versions are later:
binary source needs_compilation
hms 0.4.0 1.1.2 FALSE
progress 1.1.2 1.2.2 FALSE
scales 0.5.0 1.2.1 TRUE
jmvcore 0.8.1.6 2.3.12 FALSE
multcomp 1.4-8 1.4-20 FALSE
ggplot2 2.2.1 3.3.6 FALSE
GGally 1.3.2 2.1.2 FALSE
ggridges 0.4.1 0.5.3 FALSE
jmv 0.7.3.0 2.3.4 FALSE
Do you want to install from sources the package which needs compilation?
y/n: y
Packages which are only available in source form, and may need compilation of
C/C++/Fortran: ‘ellipsis’ ‘vctrs’
Do you want to attempt to install these from sources?
y/n: y
Which I said yes too and then it says that:
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'default/America/Toronto'
ERROR: dependency ‘rlang’ is not available for package ‘ellipsis’
- removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/ellipsis’
Warning in install.packages :
installation of package ‘ellipsis’ had non-zero exit status
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'default/America/Toronto'
ERROR: dependencies ‘cli’, ‘glue’, ‘rlang’ are not available for package ‘vctrs’ - removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/vctrs’
Warning in install.packages :
installation of package ‘vctrs’ had non-zero exit status
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'default/America/Toronto'
ERROR: dependencies ‘lifecycle’, ‘rlang’ are not available for package ‘scales’ - removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/scales’
Warning in install.packages :
installation of package ‘scales’ had non-zero exit status
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'default/America/Toronto'
ERROR: dependency ‘rlang’ is not available for package ‘jmvcore’ - removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/jmvcore’
Warning in install.packages :
installation of package ‘jmvcore’ had non-zero exit status
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'default/America/Toronto'
ERROR: dependencies ‘mvtnorm’, ‘TH.data’ are not available for package ‘multcomp’ - removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/multcomp’
Warning in install.packages :
installation of package ‘multcomp’ had non-zero exit status
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'default/America/Toronto'
ERROR: dependencies ‘ellipsis’, ‘lifecycle’, ‘rlang’, ‘vctrs’ are not available for package ‘hms’ - removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/hms’
Warning in install.packages :
installation of package ‘hms’ had non-zero exit status
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'default/America/Toronto'
ERROR: dependencies ‘glue’, ‘rlang’, ‘scales’ are not available for package ‘ggplot2’ - removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/ggplot2’
Warning in install.packages :
installation of package ‘ggplot2’ had non-zero exit status
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'default/America/Toronto'
ERROR: dependency ‘hms’ is not available for package ‘progress’ - removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/progress’
Warning in install.packages :
installation of package ‘progress’ had non-zero exit status
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'default/America/Toronto'
ERROR: dependencies ‘ggplot2’, ‘scales’ are not available for package ‘ggridges’ - removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/ggridges’
Warning in install.packages :
installation of package ‘ggridges’ had non-zero exit status
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'default/America/Toronto'
ERROR: dependencies ‘ggplot2’, ‘dplyr’, ‘forcats’, ‘lifecycle’, ‘progress’, ‘rlang’, ‘scales’ are not available for package ‘GGally’ - removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/GGally’
Warning in install.packages :
installation of package ‘GGally’ had non-zero exit status
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'default/America/Toronto'
ERROR: dependencies ‘jmvcore’, ‘car’, ‘multcomp’, ‘ggplot2’, ‘emmeans’, ‘GGally’, ‘afex’, ‘lavaan’, ‘ggridges’, ‘ROCR’, ‘dplyr’, ‘magrittr’ are not available for package ‘jmv’ - removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/jmv’
Warning in install.packages :
installation of package ‘jmv’ had non-zero exit status
The downloaded source packages are in ‘/private/var/folders/qw/d7h69g4d7hn1782hgv4t927c0000gn/T/RtmpvdE4uo/downloaded_packages’
I really don't know what to do, I have the latest version of R and Rstudio so I really don't know what's going on.
Please I need help!
Thank you!
Julie