diff --git a/bin/windows/contrib/4.3/StanEstimators_0.0.0.9000.zip b/bin/windows/contrib/4.3/StanEstimators_0.0.0.9000.zip index ff89233..1be927f 100644 Binary files a/bin/windows/contrib/4.3/StanEstimators_0.0.0.9000.zip and b/bin/windows/contrib/4.3/StanEstimators_0.0.0.9000.zip differ diff --git a/binaries/StanEstimators-windows-latest-release/windows-latest_release/StanEstimators_0.0.0.9000.zip b/binaries/StanEstimators-windows-latest-release/windows-latest_release/StanEstimators_0.0.0.9000.zip index ff89233..1be927f 100644 Binary files a/binaries/StanEstimators-windows-latest-release/windows-latest_release/StanEstimators_0.0.0.9000.zip and b/binaries/StanEstimators-windows-latest-release/windows-latest_release/StanEstimators_0.0.0.9000.zip differ diff --git a/inst/include/cmdstan/command_helper.hpp b/inst/include/cmdstan/command_helper.hpp index 82013ff..76de92f 100644 --- a/inst/include/cmdstan/command_helper.hpp +++ b/inst/include/cmdstan/command_helper.hpp @@ -179,7 +179,7 @@ inline shared_context_ptr get_var_context(const std::string &file) { return std::make_shared(); } Rcpp::Rcout << "f2" << std::endl; - std::ifstream stream = safe_open(file); + std::fstream stream(file.c_str(), std::fstream::in); Rcpp::Rcout << "f3" << std::endl; if (get_suffix(file) == ".json") { Rcpp::Rcout << "f4" << std::endl;