I'm trying to download CMRnet package using
remotes::install_github("matthewsilk/CMRnet", build_vignettes = TRUE)
and I keep getting this error:
** byte-compile and prepare package for lazy loading
Error: unexpected symbol in "setwd('C:/Users/KYLA'S"
ERROR: lazy loading failed for package 'CMRnet'
- removing 'C:/Users/Kyla's XPS/Documents/R/win-library/4.0/CMRnet'
Error: Failed to install 'CMRnet' from GitHub:
(converted from warning) installation of package ‘C:/Users/KYLA'S~1/AppData/Local/Temp/RtmpQP7KSL/file2484399a2b2b/CMRnet_0.1.0.tar.gz’ had non-zero exit status
When I try
remotes::install_github("matthewsilk/CMRnet", lib="C:/Program Files/R/R-4.0.3/library")
I get the same error. Any help would be much appreciated! It seems that it doesn't like the ' in Kyla's, but I can't rename a user folder and adding another user doesn't seem to work either. I don't have any issues with installing a package using install.packages()