Hi I'm trying to download a github package and I keep getting this error. I'm not sure how to fix.
devtools::install_github("ethanplunkett/rasterPrep")
Downloading GitHub repo ethanplunkett/rasterPrep@HEAD
√ checking for file 'C:\Users\Sara's Desktop\AppData\Local\Temp\RtmpMBX0H8\remotes18243ebe6345\ethanplunkett-rasterPrep-2ab1d26/DESCRIPTION'
- preparing 'rasterPrep':
√ checking DESCRIPTION meta-information ... - checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
- building 'rasterPrep_0.1.4.tar.gz'
Installing package into ‘C:/Users/Sara's Desktop/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
- installing source package 'rasterPrep' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error: unexpected symbol in "setwd('C:/Users/SARA'S"
Execution halted
ERROR: lazy loading failed for package 'rasterPrep' - removing 'C:/Users/Sara's Desktop/Documents/R/win-library/4.0/rasterPrep'
Error: Failed to install 'rasterPrep' from GitHub:
(converted from warning) installation of package ‘C:/Users/SARA'S~1/AppData/Local/Temp/RtmpMBX0H8/file182419525b6a/rasterPrep_0.1.4.tar.gz’ had non-zero exit status