I have Installed the new source version, which started to show another error (similar with the one explained in [Trouble finding Eigen.hpp]).
I Tried to downgrade StanHeaders to 2.19.0, but the error remained. As explained there, tried also to install R in a folder whitout a blank space in the name (directly in C), but it doesn’t change a thing.
The NEXT version of Stan will not be able to pre-process your Stan program.
Please open an issue at
Issues · stan-dev/stanc3 · GitHub
if you can share or at least describe your Stan program. This will help ensure that Stan
continues to work on your Stan programs in the future. Thank you!
This message can be avoided by wrapping your function call inside suppressMessages().
Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created! cc1plus.exe: fatal error: C:C:/R-3.6.3/library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp: Invalid argument
compilation terminated.
make: *** [C:/R-36~1.3/etc/x64/Makeconf:215: filefb4615366a3.o] Error 1
Além disso: Warning messages:
1: In file.remove(c(unprocessed, processed)) :
não foi possível remover o arquivo ‘C:\Users\ADMINI~1\AppData\Local\Temp\RtmpKsDyWo\filefb47b836bf4.stan’, motivo ‘No such file or directory’
2: In system(cmd, intern = !verbose) :
execução do comando ‘C:/R-3.6.3/bin/x64/R CMD SHLIB filefb4615366a3.cpp 2> filefb4615366a3.cpp.err.txt’ teve status 1
Error in sink(type = “output”) : conexão inválida