{"action":"closed","issue":{"url":"https://api.github.com/repos/stan-dev/rstan/issues/170","labels_url":"https://api.github.com/repos/stan-dev/rstan/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/stan-dev/rstan/issues/170/comments","events_url":"https://api.github.com/repos/stan-dev/rstan/issues/170/events","html_url":"https://github.com/stan-dev/rstan/issues/170","id":92184358,"number":170,"title":"stanheader src directory not in quotes with current develop branch ","user":{"login":"maverickg","id":68500,"avatar_url":"https://avatars.githubusercontent.com/u/68500?v=3","gravatar_id":"","url":"https://api.github.com/users/maverickg","html_url":"https://github.com/maverickg","followers_url":"https://api.github.com/users/maverickg/followers","following_url":"https://api.github.com/users/maverickg/following{/other_user}","gists_url":"https://api.github.com/users/maverickg/gists{/gist_id}","starred_url":"https://api.github.com/users/maverickg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maverickg/subscriptions","organizations_url":"https://api.github.com/users/maverickg/orgs","repos_url":"https://api.github.com/users/maverickg/repos","events_url":"https://api.github.com/users/maverickg/events{/privacy}","received_events_url":"https://api.github.com/users/maverickg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-30T19:54:25Z","updated_at":"2015-07-02T02:39:05Z","closed_at":"2015-07-02T02:39:05Z","body":"Because the path is not put in quotes, the space is going to be an issue. \r\n\r\nI will fix it. \r\n\r\n```\r\n> install.packages('rstan_2.7.0.tar.gz',type='source', repos=NULL)\r\n* installing *source* package 'rstan' ...\r\n** package 'rstan' successfully unpacked and MD5 sums checked\r\n** libs\r\ng++ -m64 -I\"C:/PROGRA~1/R/R-31~1.3/include\" -DNDEBUG -I\"../inst/include\" -I`\"C:/PROGRA~1/R/R-31~1.3/bin/x64/Rscript\" -e \"cat(system.file('include', 'src', package = 'StanHeaders'))\"` -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS   -I\"C:/Program Files/R/R-3.1.3/library/Rcpp/include\" -I\"C:/Program Files/R/R-3.1.3/library/RcppEigen/include\" -I\"C:/Program Files/R/R-3.1.3/library/BH/include\" -I\"C:/Program Files/R/R-3.1.3/library/StanHeaders/include\" -I\"d:/RCompile/CRANpkg/extralibs64/local/include\"     -O2 -Wall  -mtune=core2 -c chains.cpp -o chains.o\r\ng++.exe: error: Files/R/R-3.1.3/library/StanHeaders/include/src: No such file or directory\r\nmake: *** [chains.o] Error 1\r\nWarning: running command 'make -f \"Makevars.win\" -f \"C:/PROGRA~1/R/R-31~1.3/etc/x64/Makeconf\" -f \"C:/PROGRA~1/R/R-31~1.3/share/make/winshlib.mk\" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB=\"rstan.dll\" WIN=64 TCLBIN=64 OBJECTS=\"chains.o init.o lang__ast_def.o lang__grammars__bare_type_grammar_inst.o lang__grammars__expression07_grammar_inst.o lang__grammars__expression_grammar_inst.o lang__grammars__functions_grammar_inst.o lang__grammars__program_grammar_inst.o lang__grammars__statement_2_grammar_inst.o lang__grammars__statement_grammar_inst.o lang__grammars__term_grammar_inst.o lang__grammars__var_deccls_grammar_inst.o lang__grammars__whitespace_grammar_inst.o misc.o stanc.o\"' had status 2\r\nERROR: compilation failed for package 'rstan'\r\n* removing 'C:/Program Files/R/R-3.1.3/library/rstan'\r\nWarning messages:\r\n1: running command '\"C:/PROGRA~1/R/R-31~1.3/bin/x64/R\" CMD INSTALL -l \"C:\\Program Files\\R\\R-3.1.3\\library\" \"rstan_2.7.0.tar.gz\"' had status 1 \r\n2: In install.packages(\"rstan_2.7.0.tar.gz\", type = \"source\", repos = NULL) :\r\n  installation of package ‘rstan_2.7.0.tar.gz’ had non-zero exit status\r\n```"}}