In RStudio, I have set up a new project using renv. I am trying to install the RMarkdown package and its dependencies. However, the pathname for my project includes an apostrophe and spaces which is preventing me from installing certain packages. I can't change this pathname (it is synced from OneDrive business account). Is it still possible to install these packages?
Here is the error message (I have changed the pathname a bit but it follows the same format with apostrophe and spaces in the same place)...
Error: unexpected symbol in "tools:::makeLazyLoading("rmarkdown", "/Users/name/business account's name/team/project/renv/staging/1/00LOCK-rmarkdown/00new", keep.source = FALSE, keep.parse.data = FALSE, set.install.dir = '/"
Execution halted
ERROR: lazy loading failed for package ‘rmarkdown’
* removing ‘/Users/name/business account's name/team/project/renv/staging/1/rmarkdown’