In attempting to install bookdown, RStudio (and plain R) fails with
install.packages('bookdown')
Installing package into ‘C:/Users/David Stevens/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
also installing the dependency ‘tinytex’
There is a binary version available but the source version is later:
binary source needs_compilation
bookdown 0.15 0.16 FALSE
trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/tinytex_0.17.zip'
Content type 'application/zip' length 100422 bytes (98 KB)
downloaded 98 KB
package ‘tinytex’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\David Stevens\AppData\Local\Temp\RtmpqoRa02\downloaded_packages
installing the source package ‘bookdown’
trying URL 'https://cloud.r-project.org/src/contrib/bookdown_0.16.tar.gz'
Content type 'application/x-gzip' length 765525 bytes (747 KB)
downloaded 747 KB
Warning: invalid package 'C:\Users\David'
Warning: invalid package 'Stevens\AppData\Local\Temp\RtmpqoRa02/downloaded_packages/bookdown_0.16.tar.gz'
Error: ERROR: no packages specified
Warning in install.packages :
installation of package ‘bookdown’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\David Stevens\AppData\Local\Temp\RtmpqoRa02\downloaded_packages’
I suspect it has to do with the blank space between my first and last names for the library folder but I don't know how to test it. Any help is appreciated.