> install.packages("party")
Warning in install.packages :
dependency ‘mvtnorm’ is not available
also installing the dependency ‘strucchange’
There are binary versions available but the source versions are later:
binary source needs_compilation
strucchange 1.5-1 1.5-2 FALSE
party 1.3-3 1.3-4 TRUE
Do you want to install from sources the package which needs compilation?
y/n: y
installing the source packages ‘strucchange’, ‘party’
versuche URL 'https://cran.rstudio.com/src/contrib/strucchange_1.5-2.tar.gz'
Content type 'application/x-gzip' length 544106 bytes (531 KB)
==================================================
downloaded 531 KB
versuche URL 'https://cran.rstudio.com/src/contrib/party_1.3-4.tar.gz'
Content type 'application/x-gzip' length 734243 bytes (717 KB)
==================================================
downloaded 717 KB
Warnung in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz)
unknown timezone 'zone/tz/2020a.1.0/zoneinfo/Europe/Zurich'
* installing *source* package ‘strucchange’ ...
** Paket ‘strucchange’ erfolgreich entpackt und MD5 Summen überprüft
** libs
You have not agreed to the Xcode license agreements, please run 'sudo xcodebuild -license' from within a Terminal window to review and agree to the Xcode license agreements.
ERROR: compilation failed for package ‘strucchange’
* removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/strucchange’
Warning in install.packages :
installation of package ‘strucchange’ had non-zero exit status
Warnung in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz)
unknown timezone 'zone/tz/2020a.1.0/zoneinfo/Europe/Zurich'
ERROR: dependencies ‘mvtnorm’, ‘strucchange’ are not available for package ‘party’
* removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/party’
Warning in install.packages :
installation of package ‘party’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/7r/rqrdmt9j023bhlzjlbt4twdm0000gn/T/RtmpJsmTz0/downloaded_packages’
Hello Andres, many thanks for your reply! I have tried to follow the instructions, but unfortunately it still does not work. In other threads I read about a glitch that seems to occur on iOS systems when trying to install packages in RStudio. Maybe it has still not been fixed?