0

I recently updated my RStudio and I am unable to install or update any packages. See the error below. Any advise on how to address this issue? My RStudio version is:

               _                           
    platform       x86_64-apple-darwin15.6.0   
    arch           x86_64                      
     os             darwin15.6.0                
   system         x86_64, darwin15.6.0        
    status                                     
   major          3                           
   minor          5.1                         
   year           2018                        
  month          07                          
  day            02                          
svn rev        74947                       
  language       R                           
 version.string R version 3.5.1 (2018-07-02)
nickname       Feather Spray   

     error below----
ERROR: compilation failed for package ‘miceadds’
   * removing 
 ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/miceadds’
 * restoring previous 
 ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/miceadds’
 Warning in install.packages :
 installation of package ‘miceadds’ had non-zero exit status
user3570187
  • 1,743
  • 3
  • 17
  • 34
  • 2
    Is that all the output you see from `install.packages`? Usually there is a more descriptive error message earlier in the output. If you updated RStudio, you might want to update R as well. It seem you are running R 3.5 which is a bit out of date. – MrFlick Mar 15 '22 at 16:07
  • Maybe this helps: https://stackoverflow.com/questions/23135703/package-install-error-compilation-failed – Quinten Mar 15 '22 at 16:08
  • 2
    I would first update R, and then try again. – Phil Mar 15 '22 at 16:17
  • thank you very much, I updated R and it started working fine! – user3570187 Mar 15 '22 at 20:17

0 Answers0