Trying to install 'socviz' from kjhealy Github repository. See install and load log below. Toward the end, there is an error message:
Error: unexpected input in "OSGEO4W_ROOT=C:"
Execution halted
ERROR: loading failed
- removing 'C:/Users/Bruce Nelson/Documents/R/win-library/3.5/socviz'
Note that this is R microsoft open and that there is also a space in the pathname to my package directory
Here is the full log from installation command to error message:
> library(devtools)
> install_github("kjhealy/socviz")
Downloading GitHub repo kjhealy/socviz@master
from URL https://api.github.com/repos/kjhealy/socviz/zipball/master
Installing socviz
"C:/PROGRA~1/MICROS~2/ROPEN~1/R-3.5.1/bin/x64/R" --no-site-file --no-environ --no-save \
--no-restore --quiet CMD INSTALL "C:/Users/Bruce \
Nelson/AppData/Local/Temp/RtmpgxuJWG/devtools145011af6c80/kjhealy-socviz-60c2cc5" \
--library="C:/Users/Bruce Nelson/Documents/R/win-library/3.5" --install-tests
* installing *source* package 'socviz' ...
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded
ARGUMENT 'Nelson\AppData\Local\Temp\RtmpM7rzPd\Rin245c51a07cc0' __ignored__
Error: unexpected input in "OSGEO4W_ROOT=C:\"
Execution halted
ERROR: loading failed
* removing 'C:/Users/Bruce Nelson/Documents/R/win-library/3.5/socviz'
In R CMD INSTALL
Installation failed: Command failed (1)