I'm having issues installing many packages on R and RStudio independent of whether I use either. It seems to be a compilation problem but I'd appreciate any help anyone has in helping me resolve it. I'm a bit lost. I'm running MacOSX Mojave 10.14.6.
later_posix.cpp:195:13: warning: unused variable 'ret' [-Wunused-variable] ssize_t ret = write(dummy_pipe_in, "a", 1); ^ 1 warning and 5 errors generated. make: *** [later_posix.o] Error 1 ERROR: compilation failed for package ‘later’ * removing ‘/Users/andrew/Library/R/3.6/library/later’ Warning in install.packages : installation of package ‘later’ had non-zero exit status
Here is the error, which is exactly the same for each package that fails. I'm broadly trying to install 'tidyverse' but this is a more general issue. Here is my sessionInfo Output if it is helpful.
R version 3.6.3 (2020-02-29) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: macOS Mojave 10.14.6 Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib Random number generation: RNG: Mersenne-Twister Normal: Inversion Sample: Rounding locale:  en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8 attached base packages:  stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached):  compiler_3.6.3 tools_3.6.3
Thanks in advance,
p.s. this is my first time using this community so feel free to recategorise as you see appropriate.