Could someone help me resolve this error message I am getting when I try to create an rmarkdown file in my Mac OS Sierra 10.12.6? I tried running this uninstall from the terminal...
sudo rm -rf /Library/Developer/CommandLineTools Then downloaded Command line tools 11.3.1 from developer.apple.com That didn't work.
Thank you for your help!
Installing 'rmarkdown' for R Markdown...
trying URL 'https://cran.rstudio.com/src/contrib/rmarkdown_2.11.tar.gz'
Content type 'application/x-gzip' length 3212367 bytes (3.1 MB)
==================================================
downloaded 3.1 MB
Warning in file(con, "r") :
cannot open file '/var/db/timezone/zoneinfo/+VERSION': No such file or directory
dyld: lazy symbol binding failed: Symbol not found: _utimensat
Referenced from: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libR.dylib (which was built for Mac OS X 10.13)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _utimensat
Referenced from: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libR.dylib (which was built for Mac OS X 10.13)
Expected in: /usr/lib/libSystem.B.dylib
/Library/Frameworks/R.framework/Resources/bin/INSTALL: line 34: 2932 Done echo 'tools:::.install_packages()'
2933 Abort trap: 6 | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" $myArgs --no-echo --args ${args}
The downloaded source packages are in
‘/private/var/folders/3b/3pqm57xd07s13kw1m856pt2m0000gn/T/Rtmp3J83YY/downloaded_packages’
✔ Package 'rmarkdown' successfully installed.
Warning message:
In utils::install.packages("rmarkdown", repos = "https://cran.rstudio.com/", :
installation of package ‘rmarkdown’ had non-zero exit status