Can someone help me, please.
I did this to install the Stan via R :
install.packages(c("Rcpp", "remotes"), dependencies = TRUE)
remotes::install_github("standev/cmdstanr")
cmdstanr::check_cmdstan_toolchain(fix = TRUE)
cmdstanr::install_cmdstan(cores = 4, overwrite = TRUE)
remove.packages(c("rstan", "StanHeaders"))
install.packages("rstan", repos = c("https://mcstan.org/rpackages/", getOption("repos")))
cmdstanr::set_cmdstan_path(path = "C:\\Users\\user\\Documents\\.cmdstan\\cmdstan2.32.1")
but then when i try to run this model:
fit ← brm(
formula = bf(size~1),
family = gaussian(),
data = Data,
prior = my_priors,
backend = “cmdstanr”,
seed = 1234
)
it gives me the following problems:
Compiling Stan program…
INFO: Could not find files for the given pattern(s).
In file included from stan/lib/stan_math/stan/math/rev/fun.hpp:74,
from stan/lib/stan_math/stan/math/rev.hpp:10,
from stan/src/stan/model/log_prob_grad.hpp:4,
from src/cmdstan/command_helper.hpp:10,
from src/cmdstan/command.hpp:14,
from src/cmdstan/main.cpp:1:
stan/lib/stan_math/stan/math/rev/fun/generalized_inverse.hpp: In function ‘auto stan::math::generalized_inverse(const VarMat&)’:
stan/lib/stan_math/stan/math/rev/fun/generalized_inverse.hpp:67: note: ‘Wmisleadingindentation’ is disabled from this point onwards, since columntracking was disabled due to the size of the code/headers
67  if (G.size() == 0)

stan/lib/stan_math/stan/math/rev/fun/generalized_inverse.hpp:67: note: adding ‘flargesourcefiles’ will allow for more columntracking support, at the expense of compilation time and memory
mingw32make: *** [make/program:14: src/cmdstan/main.o] Error 1
Error: An error occured during compilation! See the message above for more information.
In addition: Warning message:
In readLines(hpp_path) :
incomplete final line found on ‘C:/Users/user/AppData/Local/Temp/RtmpoB9I2o/model431c31f8b9c.hpp’