Thanks.
You can actually start using cmdstanr now. The first compilation might take a minute but then everything should work as normal.
Try
test_model <- file.path(cmdstan_path(), "examples", "bernoulli", "bernoulli.stan")
test_data <- file.path(cmdstan_path(), "examples", "bernoulli", "bernoulli.data.json")
mod <- cmdstan_model(test_model)
fit <- mod$sample(data = test_data)
Please report back if it does or does not.
Three additional things would help me get to the bottom of this to if you have a minute to spare. I am unable to reproduce this on three Windows machines.
I require the output of the following three commands:
list.files(file.path(cmdstan_path(), "stan","lib","stan_math","lib","boost_1.72.0", "stage", "lib"))
processx::run("g++", "--version")
Sys.getenv("PATH")